Android: Add placeholders for compiler/abi-specific settings
The Android NDK source repository at https://android.googlesource.com/platform/ndk.git has `<ndk>/build/core/toolchains/*/setup.mk` files that store tables of information for their build system. Add an equivalent file for each compiler/abi combination.
This commit is contained in:
parent
fa63257821
commit
504db72d99
@ -36,6 +36,8 @@ endif()
|
||||
|
||||
include(Platform/Android-Common)
|
||||
|
||||
include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-Clang)
|
||||
|
||||
macro(__android_compiler_clang lang)
|
||||
__android_compiler_common(${lang})
|
||||
endmacro()
|
||||
|
@ -36,6 +36,8 @@ endif()
|
||||
|
||||
include(Platform/Android-Common)
|
||||
|
||||
include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-GNU)
|
||||
|
||||
macro(__android_compiler_gnu lang)
|
||||
__android_compiler_common(${lang})
|
||||
endmacro()
|
||||
|
2
Modules/Platform/Android/abi-arm64-v8a-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-arm64-v8a-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/aarch64-linux-android-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-arm64-v8a-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-arm64-v8a-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/aarch64-linux-android-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
2
Modules/Platform/Android/abi-armeabi-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-armeabi-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-armeabi-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-armeabi-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
2
Modules/Platform/Android/abi-armeabi-v6-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-armeabi-v6-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-armeabi-v6-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-armeabi-v6-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
2
Modules/Platform/Android/abi-armeabi-v7a-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-armeabi-v7a-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/arm-linux-androideabi-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-armeabi-v7a-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-armeabi-v7a-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
1
Modules/Platform/Android/abi-common-Clang.cmake
Normal file
1
Modules/Platform/Android/abi-common-Clang.cmake
Normal file
@ -0,0 +1 @@
|
||||
include(Platform/Android/abi-common)
|
1
Modules/Platform/Android/abi-common-GNU.cmake
Normal file
1
Modules/Platform/Android/abi-common-GNU.cmake
Normal file
@ -0,0 +1 @@
|
||||
include(Platform/Android/abi-common)
|
0
Modules/Platform/Android/abi-common.cmake
Normal file
0
Modules/Platform/Android/abi-common.cmake
Normal file
2
Modules/Platform/Android/abi-mips-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-mips-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/mipsel-linux-android-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-mips-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-mips-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/mipsel-linux-android-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
2
Modules/Platform/Android/abi-mips64-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-mips64-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/mips64el-linux-android-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-mips64-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-mips64-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/mips64el-linux-android-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
2
Modules/Platform/Android/abi-x86-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-x86-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/x86-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-x86-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-x86-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/x86-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
2
Modules/Platform/Android/abi-x86_64-Clang.cmake
Normal file
2
Modules/Platform/Android/abi-x86_64-Clang.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/x86_64-clang/setup.mk
|
||||
include(Platform/Android/abi-common-Clang)
|
2
Modules/Platform/Android/abi-x86_64-GNU.cmake
Normal file
2
Modules/Platform/Android/abi-x86_64-GNU.cmake
Normal file
@ -0,0 +1,2 @@
|
||||
# <ndk>/build/core/toolchains/x86_64-4.9/setup.mk
|
||||
include(Platform/Android/abi-common-GNU)
|
Loading…
x
Reference in New Issue
Block a user