mirror of
https://github.com/reactos/CMake.git
synced 2025-01-07 11:40:23 +00:00
6b84df8da9
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``).
|