When Cross Compiling for Android with NVIDIA Nsight Tegra Visual Studio Edition, this variable may be set to specify the default value for the ANDROID_STL_TYPE
target property. See that target property for additional information.
When Cross Compiling for Android with the NDK, this variable may be set to specify the STL variant to be used. The value may be one of:
none
system
gabi++_static
gabi++_shared
gnustl_static
gnustl_shared
c++_static
c++_shared
stlport_static
stlport_shared
The default value is gnustl_static
on NDK versions that provide it and otherwise c++_static
. Note that this default differs from the native NDK build system because CMake may be used to build projects for Android that are not natively implemented for it and use the C++ standard library.
© 2000–2019 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.15/variable/CMAKE_ANDROID_STL_TYPE.html