2015-04-27 22:25:09 +02:00
|
|
|
CMAKE_ANDROID_API
|
|
|
|
-----------------
|
|
|
|
|
2021-09-14 00:13:48 +02:00
|
|
|
.. versionadded:: 3.1
|
|
|
|
|
2016-10-30 18:24:19 +01:00
|
|
|
When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio
|
|
|
|
Edition`, this variable may be set to specify the default value for the
|
|
|
|
:prop_tgt:`ANDROID_API` target property. See that target property for
|
|
|
|
additional information.
|
|
|
|
|
2022-11-16 20:14:03 +01:00
|
|
|
When :ref:`Cross Compiling for Android`, the :variable:`CMAKE_SYSTEM_VERSION`
|
|
|
|
variable represents the Android API version number targeted. For historical
|
|
|
|
reasons, if a toolchain file sets ``CMAKE_ANDROID_API``, but not
|
|
|
|
``CMAKE_SYSTEM_VERSION``, the latter will be initialized using the former.
|