Files
CMake/Help/variable/CMAKE_ANDROID_EXCEPTIONS.rst
T
Haibo Huang 738caa4d48 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`:

  https://android.googlesource.com/platform/ndk/+/43b2de34ef9e3a70573fe51a9e069f985a4be5b9/build/cmake/android.toolchain.cmake#548

Add `CMAKE_ANDROID_RTTI` and `CMAKE_ANDROID_EXCEPTIONS` to support that.
2020-11-04 14:18:03 -05:00

8 lines
197 B
ReStructuredText

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.