
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.
8 lines
197 B
ReStructuredText
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.
|