From fbb64fb96c413ea063b77dcecd3f4c95f2a57883 Mon Sep 17 00:00:00 2001 From: Allen Winter Date: Mon, 24 Oct 2022 16:32:51 -0400 Subject: Add info about building on Android remove the ancient Android toolchain file --- Install.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Install.txt') diff --git a/Install.txt b/Install.txt index a75fbf95..56cd64ea 100644 --- a/Install.txt +++ b/Install.txt @@ -87,6 +87,21 @@ Homebrew: catalog files can be found so the gtk entities are located, like so: export XML_CATALOG_FILES=/usr/local/etc/xml/catalog +== Building for Android == + +% mkdir build +% cd build +$ export ANDROID_NDK=/path/to/android-ndk +% cmake -DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake \ + -DCMAKE_INSTALL_PREFIX=/install/path .. \ + -DANDROID_ABI=[x86,x86_64,armeabi-v7a,arm64-v8a,...] + #see https://developer.android.com/ndk/guides/cmake for more options +% make +% make install + +For more information about building CMake projects on Android see +https://developer.android.com/ndk/guides/cmake + == Optional Dependencies == * libicu "International Components for Unicode" development libraries. Highly recommended for RSCALE support. -- cgit v1.2.1