Added .bat file to compile on windows

This commit is contained in:
Túlio Henrique
2015-07-07 10:35:09 -03:00
parent d0a365144e
commit b18c60eb77
11 changed files with 27 additions and 129 deletions

View File

@@ -0,0 +1,19 @@
cd ..
mkdir build_android
cd build_android
cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=../android/android.toolchain.cmake -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=android-16 -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.6 ..
make
cd ../
ECHO D|xcopy /E /Y %ANDROID_NDK%\libraries\lib\libSDL2.so android\project\libs\armeabi-v7a
xcopy /E /Y libs android\project\libs
cd android\project
call android update project -p . --name OTClientMob --target android-16
call ant debug
cd bin
adb install -r OTClientMob-debug.apk