SET ANDROID_NDK=D:\SDK\android-ndk-r10e rd /s/q build_v7a mkdir build_v7a&&cd build_v7a cmake -G"MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=../cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM="%ANDROID_NDK%\prebuilt\windows-x86_64\bin\make.exe" -DANDROID_TOOLCHAIN_NAME=arm-linux-androideabi-4.9 -DANDROID_ABI=armeabi-v7a -DANDROID_NATIVE_API_LEVEL=android-9 ../ cd .. cmake --build build_v7a --config --Release mkdir plugin_lua53\Plugins\Android\libs\armeabi-v7a copy /Y build_v7a\libxlua.so plugin_lua53\Plugins\Android\libs\armeabi-v7a\libxlua.so rd /s/q build_android_x86 mkdir build_android_x86&&cd build_android_x86 cmake -G"MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=../cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM="%ANDROID_NDK%\prebuilt\windows-x86_64\bin\make.exe" -DANDROID_TOOLCHAIN_NAME=x86-4.9 -DANDROID_ABI=x86 -DANDROID_NATIVE_API_LEVEL=android-9 ../ cd .. cmake --build build_android_x86 --config --Release mkdir plugin_lua53\Plugins\Android\libs\x86 copy /Y build_android_x86\libxlua.so plugin_lua53\Plugins\Android\libs\x86\libxlua.so rd /s/q build_v8a mkdir build_v8a&&cd build_v8a cmake -G"MinGW Makefiles" -DCMAKE_TOOLCHAIN_FILE=../cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM="%ANDROID_NDK%\prebuilt\windows-x86_64\bin\make.exe" -DANDROID_TOOLCHAIN_NAME=aarch64-linux-android-4.9 -DANDROID_ABI=arm64-v8a -DANDROID_NATIVE_API_LEVEL=android-9 ../ cd .. cmake --build build_v8a --config --Release mkdir plugin_lua53\Plugins\Android\libs\arm64-v8a copy /Y build_v8a\libxlua.so plugin_lua53\Plugins\Android\libs\arm64-v8a\libxlua.so echo "compile success" pause