Added compute N-Body Android build files
This commit is contained in:
parent
7f1c8c516b
commit
fda21f96c9
8 changed files with 116 additions and 1 deletions
23
android/computenbody/build.bat
Normal file
23
android/computenbody/build.bat
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
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\computenbody"
|
||||
xcopy "..\..\data\shaders\computenbody\*.spv" "assets\shaders\computenbody" /Y
|
||||
|
||||
mkdir "assets\textures"
|
||||
xcopy "..\..\data\textures\particle01_rgba.ktx" "assets\textures" /Y
|
||||
xcopy "..\..\data\textures\particle_gradient_rgba.ktx" "assets\textures" /Y
|
||||
|
||||
mkdir "res\drawable"
|
||||
xcopy "..\..\android\images\icon.png" "res\drawable" /Y
|
||||
|
||||
call ant debug -Dout.final.file=vulkanComputenbody.apk
|
||||
) ELSE (
|
||||
echo error : ndk-build failed with errors!
|
||||
cd..
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue