2015-09-24 22:52:02 +02:00
|
|
|
cmake, ninja, go are required
|
|
|
|
|
2018-07-30 04:07:02 +02:00
|
|
|
export ANDROID_NDK=/Applications/sdk/ndk-bundle
|
|
|
|
|
2020-08-14 18:58:22 +02:00
|
|
|
/Applications/sdk/cmake/3.10.2.4988404/bin/cmake -DANDROID_ABI=armeabi-v7a \
|
2018-07-30 04:07:02 +02:00
|
|
|
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
|
|
|
|
-DANDROID_NATIVE_API_LEVEL=16 \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DARCH=arm \
|
|
|
|
-DOPENSSL_NO_ASM=1 \
|
|
|
|
-GNinja ..
|
|
|
|
|
2020-08-14 18:58:22 +02:00
|
|
|
/Applications/sdk/cmake/3.10.2.4988404/bin/cmake -DANDROID_ABI=x86 \
|
2018-07-30 04:07:02 +02:00
|
|
|
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
|
|
|
|
-DANDROID_NATIVE_API_LEVEL=16 \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DARCH=x86 \
|
|
|
|
-GNinja ..
|
|
|
|
|
2020-08-14 18:58:22 +02:00
|
|
|
/Applications/sdk/cmake/3.10.2.4988404/bin/cmake -DANDROID_ABI=x86_64 \
|
2018-07-30 04:07:02 +02:00
|
|
|
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
|
|
|
|
-DANDROID_NATIVE_API_LEVEL=21 \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DARCH=x86_64 \
|
|
|
|
-GNinja ..
|
|
|
|
|
2020-08-14 18:58:22 +02:00
|
|
|
/Applications/sdk/cmake/3.10.2.4988404/bin/cmake -DANDROID_ABI=arm64-v8a \
|
2018-07-30 04:07:02 +02:00
|
|
|
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK}/build/cmake/android.toolchain.cmake \
|
|
|
|
-DANDROID_NATIVE_API_LEVEL=21 \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DARCH=arm64-v8a \
|
|
|
|
-GNinja ..
|
|
|
|
|
2020-08-14 18:58:22 +02:00
|
|
|
/Applications/sdk/cmake/3.10.2.4988404/bin/cmake --build .
|