mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Android: Add options to control exceptions/rtti
With the NDK's `android.toolchain.cmake`, the user can control whether
exceptions/rtti is enabled using `ANDROID_CPP_FEATURES`:
43b2de34ef/build/cmake/android.toolchain.cmake (548)
Add `CMAKE_ANDROID_RTTI` and `CMAKE_ANDROID_EXCEPTIONS` to support that.
This commit is contained in:
7
Help/variable/CMAKE_ANDROID_EXCEPTIONS.rst
Normal file
7
Help/variable/CMAKE_ANDROID_EXCEPTIONS.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
CMAKE_ANDROID_EXCEPTIONS
|
||||
------------------------
|
||||
|
||||
.. versionadded:: 3.20
|
||||
|
||||
When :ref:`Cross Compiling for Android with the NDK`, this variable may be set
|
||||
to specify whether exceptions are enabled.
|
||||
7
Help/variable/CMAKE_ANDROID_RTTI.rst
Normal file
7
Help/variable/CMAKE_ANDROID_RTTI.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
CMAKE_ANDROID_RTTI
|
||||
------------------
|
||||
|
||||
.. versionadded:: 3.20
|
||||
|
||||
When :ref:`Cross Compiling for Android with the NDK`, this variable may be set
|
||||
to specify whether RTTI is enabled.
|
||||
Reference in New Issue
Block a user