aboutsummaryrefslogtreecommitdiff
path: root/toolchain/Android.cmake
diff options
context:
space:
mode:
authorNicolas Fella <nicolas.fella@gmx.de>2020-05-11 15:49:03 +0200
committerNicolas Fella <nicolas.fella@gmx.de>2020-05-11 18:59:06 +0200
commita70e9a0162f7814b33af0cfe6d7f67731ba7cce4 (patch)
tree7634a4a1e948459a8958cf5d9be4d2d8075f5c9e /toolchain/Android.cmake
parent0c72f53efd33528c3d618f778c73dec7e55449e2 (diff)
downloadextra-cmake-modules-a70e9a0162f7814b33af0cfe6d7f67731ba7cce4.tar.gz
extra-cmake-modules-a70e9a0162f7814b33af0cfe6d7f67731ba7cce4.tar.bz2
[android] Allow specifying APK install location
Summary: This allows `make create-apk` to directly write the APK to /output instead of the cp-with-prefix step in /opt/helpers/create-apk. It's also useful for manual development builds where one would need to copy it to some output location manually or for CI setups that expect the output in a certain location. If ANDROID_APK_INSTALL_DIR is not set the current behaviour is kept. Reviewers: #frameworks, #android, apol, vkrause Reviewed By: #android, apol Subscribers: kde-frameworks-devel, kde-buildsystem Tags: #frameworks, #build_system Differential Revision: https://phabricator.kde.org/D29631
Diffstat (limited to 'toolchain/Android.cmake')
-rw-r--r--toolchain/Android.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Android.cmake b/toolchain/Android.cmake
index 63b40e70..5f1d96f8 100644
--- a/toolchain/Android.cmake
+++ b/toolchain/Android.cmake
@@ -90,7 +90,8 @@
# make
# make create-apk-myapp
#
-# The APK would then be found in ``myapp_build_apk/bin`` in the build directory.
+# You can specify the APK output directory by setting ``ANDROID_APK_OUTPUT_DIR``.
+# Otherwise the APK can be found in ``myapp_build_apk/`` in the build directory.
#
# The create-apk-myapp target will be able to take an ARGS parameter with further
# arguments for androiddeployqt. For example, one can use::