d7d4083025
Populate standard include directories and link libraries for the platform. Select the STL corresponding to CMAKE_ANDROID_STL_TYPE and matching the current ABI and toolchain to be used. Refer to the NDK sources/cxx-stl/*/Android.mk files for the needed file locations.
8 lines
356 B
CMake
8 lines
356 B
CMake
# <ndk>/sources/cxx-stl/gabi++/Android.mk
|
|
set(_ANDROID_STL_RTTI 1)
|
|
set(_ANDROID_STL_EXCEPTIONS 1)
|
|
macro(__android_stl_gabixx lang filename)
|
|
__android_stl_inc(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/gabi++/include" 1)
|
|
__android_stl_lib(${lang} "${CMAKE_ANDROID_NDK}/sources/cxx-stl/gabi++/libs/${CMAKE_ANDROID_ARCH_ABI}/${filename}" 1)
|
|
endmacro()
|