summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-11-14 19:19:55 (GMT)
committerBrad King <brad.king@kitware.com>2016-11-14 19:39:50 (GMT)
commitf7c5e970a0b9697ecdb443aecdee87b51e0a5457 (patch)
treed61ded7677eee1877aa6d80c7fb4cb429e1d81c8 /Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst
parentd95e6dff3cb869d45b27836dc0967ab27872bcdc (diff)
downloadCMake-f7c5e970a0b9697ecdb443aecdee87b51e0a5457.zip
CMake-f7c5e970a0b9697ecdb443aecdee87b51e0a5457.tar.gz
CMake-f7c5e970a0b9697ecdb443aecdee87b51e0a5457.tar.bz2
Android: Add CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE
Expose the binutils' machine name (typically used as a prefix on the tool names) publicly. This is expected to match the `gcc -dumpmachine` value. Suggested-by: Ruslan Baratov <ruslan_baratov@yahoo.com>
Diffstat (limited to 'Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst')
-rw-r--r--Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst b/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst
new file mode 100644
index 0000000..d336364
--- /dev/null
+++ b/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.rst
@@ -0,0 +1,9 @@
+CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE
+--------------------------------------
+
+When :ref:`Cross Compiling for Android` this variable contains the
+toolchain binutils machine name (e.g. ``gcc -dumpmachine``). The
+binutils typically have a ``<machine>-`` prefix on their name.
+
+See also :variable:`CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX`
+and :variable:`CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX`.