1CMAKE_ANDROID_STL_TYPE
2----------------------
3
4.. versionadded:: 3.4
5
6When :ref:`Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio
7Edition`, this variable may be set to specify the default value for the
8:prop_tgt:`ANDROID_STL_TYPE` target property.  See that target property
9for additional information.
10
11When :ref:`Cross Compiling for Android with the NDK`, this variable may be
12set to specify the STL variant to be used.  The value may be one of:
13
14``none``
15  No C++ Support
16``system``
17  Minimal C++ without STL
18``gabi++_static``
19  GAbi++ Static
20``gabi++_shared``
21  GAbi++ Shared
22``gnustl_static``
23  GNU libstdc++ Static
24``gnustl_shared``
25  GNU libstdc++ Shared
26``c++_static``
27  LLVM libc++ Static
28``c++_shared``
29  LLVM libc++ Shared
30``stlport_static``
31  STLport Static
32``stlport_shared``
33  STLport Shared
34
35The default value is ``gnustl_static`` on NDK versions that provide it
36and otherwise ``c++_static``.  Note that this default differs from
37the native NDK build system because CMake may be used to build projects for
38Android that are not natively implemented for it and use the C++ standard
39library.
40