Created
April 7, 2021 15:32
-
-
Save iscle/179b4537990694859bd9d950daaf9231 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GLFW: | |
export NDK=<path_to_ndk_root> | |
export NDK=/home/iscle/Documents/android-ndk-r21d | |
// In the following command, boat headers are missing | |
cmake .. -DANDROID_PLATFORM=21 -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake -DGLFW_USE_BOAT=ON | |
GL4ES: | |
cmake .. -DANDROID_PLATFORM=21 -DANDROID_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE=$NDK/build/cmake/android.toolchain.cmake | |
LWJGL: | |
ant compile_native release -Dcross.compile.target=$TOOLCHAIN/bin/$TARGET$API -Dcross.compile.target.strip=$TOOLCHAIN/bin/$TARGET-strip -Dlwjgl.platform.boat=true -Dbuild.64bit.only=true -Dboat.include=/home/iscle/Documents/projects/boat -Dboat.lib=/home/iscle/Documents/projects/boat/build | |
export TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64 | |
export TARGET=aarch64-linux-android | |
export TARGET=armv7a-linux-androideabi | |
export API=21 | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
ant compile_native release -Dcross.compile.target=$TOOLCHAIN/bin/$TARGET$API -Dcross.compile.target.strip=$TOOLCHAIN/bin/$TARGET-strip -Dlwjgl.platform.boat=true -Dbuild.64bit.only=true -Dboat.include=/home/iscle/Documents/projects/boat -Dboat.lib=/home/iscle/Documents/projects/boat/build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment