mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
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.
8 lines
340 B
ReStructuredText
8 lines
340 B
ReStructuredText
CMAKE_ANDROID_ARM_MODE
|
|
----------------------
|
|
|
|
When :ref:`Cross Compiling for Android` and :variable:`CMAKE_ANDROID_ARCH_ABI`
|
|
is set to one of the ``armeabi`` architectures, set ``CMAKE_ANDROID_ARM_MODE``
|
|
to ``ON`` to target 32-bit ARM processors (``-marm``). Otherwise, the
|
|
default is to target the 16-bit Thumb processors (``-mthumb``).
|