Added multisampling example to cmake and android build

This commit is contained in:
saschawillems 2016-03-29 21:41:56 +02:00
parent d19a4422ce
commit 1e3dcb98b6
8 changed files with 113 additions and 1 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\mesh"
xcopy "..\..\data\shaders\mesh\*.spv" "assets\shaders\mesh" /Y
mkdir "assets\models\voyager"
xcopy "..\..\data\models\voyager\*.*" "assets\models\voyager" /Y
mkdir "res\drawable"
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
call ant debug -Dout.final.file=vulkanMultisampling.apk
) ELSE (
echo error : ndk-build failed with errors!
cd..
)