Android support for Compute particles example, replacing separate Android version (#97)

This commit is contained in:
saschawillems 2016-03-23 22:17:14 +01:00
parent a8734f7f46
commit a9fe22426f
26 changed files with 142 additions and 3230 deletions

View file

@ -0,0 +1,20 @@
cd jni
call ndk-build
if %ERRORLEVEL% EQU 0 (
echo ndk-build has failed, build cancelled
cd..
mkdir "assets\shaders\computeparticles"
xcopy "..\..\data\shaders\computeparticles\*.spv" "assets\shaders\computeparticles" /Y
mkdir "assets\textures"
xcopy "..\..\data\textures\particle01_rgba.ktx" "assets\textures" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanComputeparticles.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)