summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_ANDROID_API.rst
blob: 4388bf2e056a74745d6c3df8866cbc976e35ef2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CMAKE_ANDROID_API
-----------------

.. versionadded:: 3.1

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.

Otherwise, when :ref:`Cross Compiling for Android`, this variable provides
the Android API version number targeted.  This will be the same value as
the :variable:`CMAKE_SYSTEM_VERSION` variable for ``Android`` platforms.