Added debug marker example to android builds
This commit is contained in:
parent
04a31f9db4
commit
0ecff76c40
7 changed files with 117 additions and 1 deletions
24
android/debugmarker/build.bat
Normal file
24
android/debugmarker/build.bat
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
cd jni
|
||||
call ndk-build
|
||||
if %ERRORLEVEL% EQU 0 (
|
||||
echo ndk-build has failed, build cancelled
|
||||
cd..
|
||||
|
||||
mkdir "assets\shaders\base"
|
||||
xcopy "..\..\data\shaders\base\*.spv" "assets\shaders\base" /Y
|
||||
|
||||
mkdir "assets\shaders\debugmarker"
|
||||
xcopy "..\..\data\shaders\debugmarker\*.spv" "assets\shaders\debugmarker" /Y
|
||||
|
||||
mkdir "assets\models"
|
||||
xcopy "..\..\data\models\treasure_smooth.dae" "assets\models" /Y
|
||||
xcopy "..\..\data\models\treasure_glow.dae" "assets\models" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanDebugmarker.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue