Added Android build files fro compute cull and lod example

This commit is contained in:
saschawillems 2016-10-09 17:45:21 +02:00
parent a0d9f49d0c
commit 21ae4aeeb3
6 changed files with 113 additions and 0 deletions

View file

@ -0,0 +1,22 @@
cd jni
call ndk-build
if %ERRORLEVEL% EQU 0 (
cd..
mkdir "assets\shaders\base"
xcopy "..\..\data\shaders\base\*.spv" "assets\shaders\base" /Y
mkdir "assets\shaders\computecullandlod"
xcopy "..\..\data\shaders\computecullandlod\*.spv" "assets\shaders\computecullandlod" /Y
mkdir "assets\models"
xcopy "..\..\data\models\suzanne_lods.dae" "assets\models" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanComputecullandlod.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)