diff options
author | Brad King <brad.king@kitware.com> | 2016-06-20 19:48:12 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-23 16:53:10 (GMT) |
commit | 6b84df8da98169af43d4173dfbd1dedf5979dcb2 (patch) | |
tree | 731592335256e7bb9dd701b1c512f37e2c95d0de /Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst | |
parent | d7d4083025f3007b862dd500c8f5fc64e105055b (diff) | |
download | CMake-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_LANG_ANDROID_TOOLCHAIN_PREFIX.rst')
-rw-r--r-- | Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst b/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst new file mode 100644 index 0000000..b51422f --- /dev/null +++ b/Help/variable/CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.rst @@ -0,0 +1,11 @@ +CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX +------------------------------------- + +When :ref:`Cross Compiling for Android` this variable contains the absolute +path prefixing the toolchain GNU compiler and its binutils. + +See also :variable:`CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX`. + +For example, the path to the linker is:: + + ${CMAKE_CXX_ANDROID_TOOLCHAIN_PREFIX}ld${CMAKE_CXX_ANDROID_TOOLCHAIN_SUFFIX} |