mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 20:26:23 +01:00
Added .bat file to compile on windows
This commit is contained in:
19
android/compile_android_windows.bat
Normal file
19
android/compile_android_windows.bat
Normal 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
|
||||
Reference in New Issue
Block a user