summaryrefslogtreecommitdiff
path: root/Install.txt
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2022-10-24 16:32:51 -0400
committerAllen Winter <allen.winter@kdab.com>2022-10-24 16:32:51 -0400
commitfbb64fb96c413ea063b77dcecd3f4c95f2a57883 (patch)
tree6afe2e48e89a90638cef6309b74f485e8f293960 /Install.txt
parentd59d183c62df82d4e8db709720478214b9c28805 (diff)
downloadlibical-git-fbb64fb96c413ea063b77dcecd3f4c95f2a57883.tar.gz
Add info about building on Android
remove the ancient Android toolchain file
Diffstat (limited to 'Install.txt')
-rw-r--r--Install.txt15
1 files changed, 15 insertions, 0 deletions
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.