mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
This allows us to skip `abi-*.cmake` in the next change. In the future we may move all this information to the NDK.
16 lines
320 B
CMake
16 lines
320 B
CMake
string(APPEND _ANDROID_ABI_INIT_CFLAGS
|
|
" -march=armv6"
|
|
)
|
|
|
|
if(CMAKE_ANDROID_ARM_MODE)
|
|
string(APPEND _ANDROID_ABI_INIT_CFLAGS " -marm")
|
|
else()
|
|
string(APPEND _ANDROID_ABI_INIT_CFLAGS " -mthumb")
|
|
endif()
|
|
|
|
string(APPEND _ANDROID_ABI_INIT_CFLAGS
|
|
" -mfloat-abi=softfp"
|
|
)
|
|
|
|
include(Platform/Android/abi-common-Clang)
|