Added android build files for terrain tessellation example

This commit is contained in:
saschawillems 2016-06-20 20:05:33 +02:00
parent 4104d6a201
commit 5b5543e415
5 changed files with 117 additions and 0 deletions

View file

@ -0,0 +1,27 @@
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\terraintessellation"
xcopy "..\..\data\shaders\terraintessellation\*.*" "assets\shaders\terraintessellation" /Y
mkdir "assets\textures"
xcopy "..\..\data\textures\terrain_heightmap_r8.ktx" "assets\textures" /Y
xcopy "..\..\data\textures\terrain_texturearray_bc3.ktx" "assets\textures" /Y
xcopy "..\..\data\textures\skysphere_bc3.ktx" "assets\textures" /Y
mkdir "assets\models"
xcopy "..\..\data\models\geosphere.obj" "assets\models" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanTerraintessellation.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)