summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_ANDROID_ARCH.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-06-20 19:48:12 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-23 16:53:10 (GMT)
commit6b84df8da98169af43d4173dfbd1dedf5979dcb2 (patch)
tree731592335256e7bb9dd701b1c512f37e2c95d0de /Help/variable/CMAKE_ANDROID_ARCH.rst
parentd7d4083025f3007b862dd500c8f5fc64e105055b (diff)
downloadCMake-6b84df8da98169af43d4173dfbd1dedf5979dcb2.zip
CMake-6b84df8da98169af43d4173dfbd1dedf5979dcb2.tar.gz
CMake-6b84df8da98169af43d4173dfbd1dedf5979dcb2.tar.bz2
Help: Document cross compiling for Android
CMake now supports cross compiling for Android using the NDK or a standalone toolchain. Document the associated variables and how how to write toolchain files for Android.
Diffstat (limited to 'Help/variable/CMAKE_ANDROID_ARCH.rst')
-rw-r--r--Help/variable/CMAKE_ANDROID_ARCH.rst18
1 files changed, 16 insertions, 2 deletions
diff --git a/Help/variable/CMAKE_ANDROID_ARCH.rst b/Help/variable/CMAKE_ANDROID_ARCH.rst
index 8fbb46d..b91ca57 100644
--- a/Help/variable/CMAKE_ANDROID_ARCH.rst
+++ b/Help/variable/CMAKE_ANDROID_ARCH.rst
@@ -1,5 +1,19 @@
CMAKE_ANDROID_ARCH
------------------
-Default value for the :prop_tgt:`ANDROID_ARCH` target property.
-See that target property for additional information.
+When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio
+Edition`, this variable may be set to specify the default value for the
+:prop_tgt:`ANDROID_ARCH` target property. See that target property for
+additional information.
+
+Otherwise, when :ref:`Cross Compiling for Android`, this variable provides
+the name of the Android architecture corresponding to the value of the
+:variable:`CMAKE_ANDROID_ARCH_ABI` variable. The architecture name
+may be one of:
+
+* ``arm``
+* ``arm64``
+* ``mips``
+* ``mips64``
+* ``x86``
+* ``x86_64``