Android makefiles for triangle example (wip) (#97)

This commit is contained in:
saschawillems 2016-03-20 14:31:20 +01:00
parent 2ac9be7225
commit 92cdb2060e
5 changed files with 100 additions and 0 deletions

View file

@ -0,0 +1,18 @@
cd jni
call ndk-build
if %ERRORLEVEL% GEQ 1 (
echo ndk-build has failed, build cancelled
cd..
exit \b %errorlevel%
)
cd..
mkdir "assets\shaders"
xcopy "..\..\data\shaders\triangle.vert.spv" "assets\shaders" /Y
xcopy "..\..\data\shaders\triangle.frag.spv" "assets\shaders" /Y
call ant debug -Dout.final.file=vulkanTriangle.apk
if "%1" == "-deploy" (
adb install -r vulkanTriangle.apk
)