PATH:
usr
/
share
/
cmake
/
Modules
/
Platform
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # file Copyright.txt or https://cmake.org/licensing for details. # This module is shared by multiple languages; use include blocker. if(__ANDROID_COMPILER_CLANG) return() endif() set(__ANDROID_COMPILER_CLANG 1) # Include the NDK hook. # It can be used by NDK to inject necessary fixes for an earlier cmake. if(CMAKE_ANDROID_NDK) include(${CMAKE_ANDROID_NDK}/build/cmake/hooks/pre/Android-Clang.cmake OPTIONAL) endif() # Load flags from NDK. This file may provides the following variables: # _ANDROID_NDK_INIT_CFLAGS # _ANDROID_NDK_INIT_CFLAGS_DEBUG # _ANDROID_NDK_INIT_CFLAGS_RELEASE # _ANDROID_NDK_INIT_LDFLAGS # _ANDROID_NDK_INIT_LDFLAGS_EXE if(CMAKE_ANDROID_NDK) include(${CMAKE_ANDROID_NDK}/build/cmake/flags.cmake OPTIONAL RESULT_VARIABLE _INCLUDED_FLAGS) endif() # Support for NVIDIA Nsight Tegra Visual Studio Edition was previously # implemented in the CMake VS IDE generators. Avoid interfering with # that functionality for now. Later we may try to integrate this. if(CMAKE_VS_PLATFORM_NAME STREQUAL "Tegra-Android") macro(__android_compiler_clang lang) endmacro() return() endif() # Commonly used Android toolchain files that pre-date CMake upstream support # set CMAKE_SYSTEM_VERSION to 1. Avoid interfering with them. if(CMAKE_SYSTEM_VERSION EQUAL 1) macro(__android_compiler_clang lang) endmacro() return() endif() # Natively compiling on an Android host doesn't use the NDK cross-compilation # tools. if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Android") macro(__android_compiler_clang lang) endmacro() return() endif() include(Platform/Android-Common) if(_INCLUDED_FLAGS) # NDK provides the flags. set(_ANDROID_ABI_INIT_CFLAGS "${_ANDROID_NDK_INIT_CFLAGS}") set(_ANDROID_ABI_INIT_CFLAGS_DEBUG "${_ANDROID_NDK_INIT_CFLAGS_DEBUG}") set(_ANDROID_ABI_INIT_CFLAGS_RELEASE "${_ANDROID_NDK_INIT_CFLAGS_RELEASE}") set(_ANDROID_ABI_INIT_LDFLAGS "${_ANDROID_NDK_INIT_LDFLAGS}") set(_ANDROID_ABI_INIT_EXE_LDFLAGS "${_ANDROID_NDK_INIT_LDFLAGS_EXE}") else() # The NDK toolchain configuration files at: # # <ndk>/[build/core/]toolchains/*-clang*/setup.mk # # contain logic to set LLVM_TRIPLE for Clang-based toolchains for each target. # We need to produce the same target here to produce compatible binaries. include(Platform/Android/abi-${CMAKE_ANDROID_ARCH_ABI}-Clang) endif() macro(__android_compiler_clang lang) if(NOT "x${lang}" STREQUAL "xASM") __android_compiler_common(${lang}) endif() if(NOT CMAKE_${lang}_COMPILER_TARGET) set(CMAKE_${lang}_COMPILER_TARGET "${CMAKE_ANDROID_ARCH_LLVM_TRIPLE}") if(CMAKE_ANDROID_NDK_TOOLCHAIN_UNIFIED) string(APPEND CMAKE_${lang}_COMPILER_TARGET "${CMAKE_SYSTEM_VERSION}") endif() if("${lang}" STREQUAL "CXX") list(APPEND CMAKE_${lang}_COMPILER_PREDEFINES_COMMAND "--target=${CMAKE_${lang}_COMPILER_TARGET}") endif() endif() if(CMAKE_GENERATOR MATCHES "Visual Studio") set(_ANDROID_STL_NOSTDLIBXX 1) endif() endmacro() # Include the NDK hook. # It can be used by NDK to inject necessary fixes for an earlier cmake. if(CMAKE_ANDROID_NDK) include(${CMAKE_ANDROID_NDK}/build/cmake/hooks/post/Android-Clang.cmake OPTIONAL) endif()
[+]
..
[+]
AIX
[+]
Android
[-] BlueGeneP-dynamic-XL-C.cmake
[edit]
[-] AIX-Clang-C.cmake
[edit]
[-] BlueGeneP-dynamic.cmake
[edit]
[-] AIX-Clang-CXX.cmake
[edit]
[-] BlueGeneP-static-GNU-C.cmake
[edit]
[-] AIX-GNU-ASM.cmake
[edit]
[-] BlueGeneP-static-XL-C.cmake
[edit]
[-] AIX-GNU-C.cmake
[edit]
[-] BlueGeneP-static.cmake
[edit]
[-] AIX-GNU-CXX.cmake
[edit]
[-] Apple-Clang-OBJCXX.cmake
[edit]
[-] AIX-GNU-Fortran.cmake
[edit]
[-] BlueGeneQ-base.cmake
[edit]
[-] AIX-GNU.cmake
[edit]
[-] Apple-Clang.cmake
[edit]
[-] AIX-VisualAge-C.cmake
[edit]
[-] Apple-GNU-C.cmake
[edit]
[-] AIX-VisualAge-CXX.cmake
[edit]
[-] Apple-GNU-CXX.cmake
[edit]
[-] AIX-VisualAge-Fortran.cmake
[edit]
[-] BlueGeneQ-dynamic-XL-C.cmake
[edit]
[-] AIX-XL-ASM.cmake
[edit]
[-] BlueGeneQ-dynamic.cmake
[edit]
[-] AIX-XL-C.cmake
[edit]
[-] BlueGeneQ-static-GNU-C.cmake
[edit]
[-] AIX-XL-CXX.cmake
[edit]
[-] Apple-GNU-Fortran.cmake
[edit]
[-] AIX-XL-Fortran.cmake
[edit]
[-] BlueGeneQ-static-XL-C.cmake
[edit]
[-] AIX-XL.cmake
[edit]
[-] BlueGeneQ-static.cmake
[edit]
[-] AIX-XLClang-C.cmake
[edit]
[-] Apple-GNU-OBJC.cmake
[edit]
[-] AIX-XLClang-CXX.cmake
[edit]
[-] CYGWIN-Clang-C.cmake
[edit]
[-] AIX-XLClang.cmake
[edit]
[-] CYGWIN.cmake
[edit]
[-] AIX.cmake
[edit]
[-] CYGWIN-Clang-CXX.cmake
[edit]
[-] ARTOS-GNU-C.cmake
[edit]
[-] Catamount.cmake
[edit]
[-] ARTOS.cmake
[edit]
[-] Apple-IntelLLVM-C.cmake
[edit]
[-] Android-Clang-ASM.cmake
[edit]
[-] Apple-IntelLLVM-CXX.cmake
[edit]
[-] Android-Clang-C.cmake
[edit]
[-] Apple-IntelLLVM-Fortran.cmake
[edit]
[-] Android-Clang-CXX.cmake
[edit]
[-] CYGWIN-Determine-CXX.cmake
[edit]
[-] Android-Clang.cmake
[edit]
[-] Apple-IntelLLVM.cmake
[edit]
[-] Android-Common.cmake
[edit]
[-] Apple-NAG-Fortran.cmake
[edit]
[-] Android-Determine-C.cmake
[edit]
[-] Apple-NVIDIA-CUDA.cmake
[edit]
[-] Android-Determine-CXX.cmake
[edit]
[-] Apple-PGI-C.cmake
[edit]
[-] Android-Determine.cmake
[edit]
[-] CYGWIN-GNU-Fortran.cmake
[edit]
[-] Android-GNU-C.cmake
[edit]
[-] Apple-PGI-CXX.cmake
[edit]
[-] Android-GNU-CXX.cmake
[edit]
[-] CYGWIN-GNU-C.cmake
[edit]
[-] Android-GNU.cmake
[edit]
[-] Apple-PGI-Fortran.cmake
[edit]
[-] Android-Initialize.cmake
[edit]
[-] CYGWIN-GNU-CXX.cmake
[edit]
[-] Android.cmake
[edit]
[-] Apple-PGI.cmake
[edit]
[-] Apple-Absoft-Fortran.cmake
[edit]
[-] Apple-VisualAge-C.cmake
[edit]
[-] Apple-Apple-Swift.cmake
[edit]
[-] Apple-VisualAge-CXX.cmake
[edit]
[-] Apple-AppleClang-C.cmake
[edit]
[-] Apple-XL-C.cmake
[edit]
[-] Apple-AppleClang-CXX.cmake
[edit]
[-] Apple-XL-CXX.cmake
[edit]
[-] Apple-AppleClang-OBJC.cmake
[edit]
[-] Apple-Intel.cmake
[edit]
[-] DOS.cmake
[edit]
[-] Apple-AppleClang-OBJCXX.cmake
[edit]
[-] BlueGeneL.cmake
[edit]
[-] Apple-Clang-ASM.cmake
[edit]
[-] CrayLinuxEnvironment.cmake
[edit]
[-] Apple-Clang-C.cmake
[edit]
[-] BeOS.cmake
[edit]
[-] Euros.cmake
[edit]
[-] Apple-Clang-CXX.cmake
[edit]
[-] BlueGeneP-dynamic-GNU-CXX.cmake
[edit]
[-] Apple-Clang-OBJC.cmake
[edit]
[-] Apple-GNU-OBJCXX.cmake
[edit]
[-] CYGWIN-GNU.cmake
[edit]
[-] Apple-GNU.cmake
[edit]
[-] CYGWIN-windres.cmake
[edit]
[-] Apple-Intel-C.cmake
[edit]
[-] BlueGeneP-base.cmake
[edit]
[-] Apple-Intel-CXX.cmake
[edit]
[-] BlueGeneP-dynamic-GNU-C.cmake
[edit]
[-] Apple-Intel-Fortran.cmake
[edit]
[-] DOS-OpenWatcom.cmake
[edit]
[-] BSDOS.cmake
[edit]
[-] Darwin.cmake
[edit]
[-] Linux-Absoft-Fortran.cmake
[edit]
[-] BlueGeneP-dynamic-GNU-Fortran.cmake
[edit]
[-] Haiku.cmake
[edit]
[-] MirBSD.cmake
[edit]
[-] BlueGeneP-dynamic-XL-CXX.cmake
[edit]
[-] Linux-CCur-Fortran.cmake
[edit]
[-] BlueGeneP-dynamic-XL-Fortran.cmake
[edit]
[-] Linux-Clang-C.cmake
[edit]
[-] OS2.cmake
[edit]
[-] BlueGeneP-static-GNU-CXX.cmake
[edit]
[-] Linux-Clang-CXX.cmake
[edit]
[-] BlueGeneP-static-GNU-Fortran.cmake
[edit]
[-] Linux-Determine-CXX.cmake
[edit]
[-] BlueGeneP-static-XL-CXX.cmake
[edit]
[-] Linux-GNU-C.cmake
[edit]
[-] OSF1.cmake
[edit]
[-] BlueGeneP-static-XL-Fortran.cmake
[edit]
[-] Linux-GNU-CXX.cmake
[edit]
[-] QNX.cmake
[edit]
[-] BlueGeneQ-dynamic-GNU-C.cmake
[edit]
[-] Linux-GNU-Fortran.cmake
[edit]
[-] BlueGeneQ-dynamic-GNU-CXX.cmake
[edit]
[-] Linux-GNU.cmake
[edit]
[-] RISCos.cmake
[edit]
[-] BlueGeneQ-dynamic-GNU-Fortran.cmake
[edit]
[-] Linux-Intel-C.cmake
[edit]
[-] SCO_SV.cmake
[edit]
[-] BlueGeneQ-dynamic-XL-CXX.cmake
[edit]
[-] Linux-Intel-CXX.cmake
[edit]
[-] BlueGeneQ-dynamic-XL-Fortran.cmake
[edit]
[-] Linux-Intel-Fortran.cmake
[edit]
[-] BlueGeneQ-static-GNU-CXX.cmake
[edit]
[-] ULTRIX.cmake
[edit]
[-] SunOS.cmake
[edit]
[-] BlueGeneQ-static-GNU-Fortran.cmake
[edit]
[-] Linux-Intel.cmake
[edit]
[-] SINIX.cmake
[edit]
[-] BlueGeneQ-static-XL-CXX.cmake
[edit]
[-] Linux-IntelLLVM-C.cmake
[edit]
[-] BlueGeneQ-static-XL-Fortran.cmake
[edit]
[-] Linux-IntelLLVM-CXX.cmake
[edit]
[-] DOS-OpenWatcom-C.cmake
[edit]
[-] Linux-IntelLLVM-Fortran.cmake
[edit]
[-] DOS-OpenWatcom-CXX.cmake
[edit]
[-] Linux-IntelLLVM.cmake
[edit]
[-] Darwin-Determine-CXX.cmake
[edit]
[-] Linux-NAG-Fortran.cmake
[edit]
[-] Darwin-Initialize.cmake
[edit]
[-] Linux-PGI.cmake
[edit]
[-] DragonFly.cmake
[edit]
[-] Linux-NVHPC-C.cmake
[edit]
[-] FreeBSD-Determine-CXX.cmake
[edit]
[-] Linux-PathScale-C.cmake
[edit]
[-] FreeBSD.cmake
[edit]
[-] Linux-PathScale-CXX.cmake
[edit]
[-] Fuchsia.cmake
[edit]
[-] Linux-NVHPC-CXX.cmake
[edit]
[-] GHS-MULTI-Determine.cmake
[edit]
[-] Linux-PathScale.cmake
[edit]
[-] GHS-MULTI.cmake
[edit]
[-] NetBSD.cmake
[edit]
[-] GNU.cmake
[edit]
[-] Linux-SunPro-CXX.cmake
[edit]
[-] GNUtoMS_lib.bat.in
[edit]
[-] Linux-TinyCC-C.cmake
[edit]
[-] GNUtoMS_lib.cmake
[edit]
[-] Linux-NVHPC-Fortran.cmake
[edit]
[-] Generic-ADSP-ASM.cmake
[edit]
[-] Linux-NVHPC.cmake
[edit]
[-] Generic-ADSP-C.cmake
[edit]
[-] Linux-OpenWatcom-C.cmake
[edit]
[-] Generic-ADSP-CXX.cmake
[edit]
[-] Linux-OpenWatcom-CXX.cmake
[edit]
[-] Generic-ADSP-Common.cmake
[edit]
[-] Linux-OpenWatcom.cmake
[edit]
[-] Generic-SDCC-C.cmake
[edit]
[-] Linux-VisualAge-C.cmake
[edit]
[-] Generic.cmake
[edit]
[-] Linux-VisualAge-CXX.cmake
[edit]
[-] HP-UX-GNU-ASM.cmake
[edit]
[-] Linux-XL-C.cmake
[edit]
[-] HP-UX-GNU-C.cmake
[edit]
[-] Linux-XL-CXX.cmake
[edit]
[-] HP-UX-GNU-CXX.cmake
[edit]
[-] Linux-PGI-C.cmake
[edit]
[-] HP-UX-GNU-Fortran.cmake
[edit]
[-] Linux-XL-Fortran.cmake
[edit]
[-] HP-UX-GNU.cmake
[edit]
[-] Linux-como.cmake
[edit]
[-] HP-UX-HP-ASM.cmake
[edit]
[-] Linux.cmake
[edit]
[-] HP-UX-HP-C.cmake
[edit]
[-] MP-RAS.cmake
[edit]
[-] HP-UX-HP-CXX.cmake
[edit]
[-] Linux-PGI-CXX.cmake
[edit]
[-] HP-UX-HP-Fortran.cmake
[edit]
[-] Midipix.cmake
[edit]
[-] HP-UX-HP.cmake
[edit]
[-] OS2-OpenWatcom.cmake
[edit]
[-] HP-UX.cmake
[edit]
[-] Linux-PGI-Fortran.cmake
[edit]
[-] Linux-PathScale-Fortran.cmake
[edit]
[-] Linux-VisualAge-Fortran.cmake
[edit]
[-] OS2-OpenWatcom-C.cmake
[edit]
[-] OS2-OpenWatcom-CXX.cmake
[edit]
[-] OpenBSD.cmake
[edit]
[-] OpenVMS.cmake
[edit]
[-] SunOS-Clang-C.cmake
[edit]
[-] SunOS-Clang-CXX.cmake
[edit]
[-] SunOS-GNU-C.cmake
[edit]
[-] SunOS-GNU-CXX.cmake
[edit]
[-] SunOS-GNU-Fortran.cmake
[edit]
[-] SunOS-GNU.cmake
[edit]
[-] SunOS-PathScale-C.cmake
[edit]
[-] SunOS-PathScale-CXX.cmake
[edit]
[-] SunOS-PathScale-Fortran.cmake
[edit]
[-] SunOS-PathScale.cmake
[edit]
[-] Tru64.cmake
[edit]
[-] UNIX_SV.cmake
[edit]
[-] Windows-Clang-ASM.cmake
[edit]
[-] Windows-Watcom-C.cmake
[edit]
[-] Windows-Clang-C.cmake
[edit]
[-] Windows-Watcom-CXX.cmake
[edit]
[-] Windows-Clang-CXX.cmake
[edit]
[-] eCos.cmake
[edit]
[-] Windows-Clang.cmake
[edit]
[-] Windows-df.cmake
[edit]
[-] Windows-Determine-CXX.cmake
[edit]
[-] Windows-windres.cmake
[edit]
[-] Windows-Embarcadero-C.cmake
[edit]
[-] watchOS.cmake
[edit]
[-] tvOS.cmake
[edit]
[-] Windows-Embarcadero-CXX.cmake
[edit]
[-] Windows.cmake
[edit]
[-] Windows-Embarcadero.cmake
[edit]
[-] WindowsCE-MSVC-C.cmake
[edit]
[-] Windows-Flang-Fortran.cmake
[edit]
[-] WindowsCE-MSVC-CXX.cmake
[edit]
[-] Windows-G95-Fortran.cmake
[edit]
[-] WindowsCE.cmake
[edit]
[-] Windows-GNU-ASM.cmake
[edit]
[-] WindowsPaths.cmake
[edit]
[-] Windows-GNU-C-ABI.cmake
[edit]
[-] gas.cmake
[edit]
[-] Windows-GNU-C.cmake
[edit]
[-] WindowsPhone-Clang-ASM.cmake
[edit]
[-] Windows-GNU-CXX-ABI.cmake
[edit]
[-] WindowsPhone-Clang-C.cmake
[edit]
[-] Windows-GNU-CXX.cmake
[edit]
[-] Windows-OpenWatcom-C.cmake
[edit]
[-] Windows-GNU-Fortran-ABI.cmake
[edit]
[-] WindowsPhone-Clang-CXX.cmake
[edit]
[-] Windows-GNU-Fortran.cmake
[edit]
[-] iOS-Determine-CXX.cmake
[edit]
[-] Windows-GNU.cmake
[edit]
[-] WindowsPhone-GNU-ASM.cmake
[edit]
[-] Windows-Intel-ASM.cmake
[edit]
[-] WindowsPhone-GNU-C.cmake
[edit]
[-] Windows-Intel-C.cmake
[edit]
[-] WindowsPhone-GNU-CXX.cmake
[edit]
[-] Windows-Intel-CXX.cmake
[edit]
[-] WindowsPhone-MSVC-C.cmake
[edit]
[-] Windows-Intel-Fortran.cmake
[edit]
[-] WindowsPhone-MSVC-CXX.cmake
[edit]
[-] Windows-Intel-ISPC.cmake
[edit]
[-] iOS-Initialize.cmake
[edit]
[-] Windows-Intel.cmake
[edit]
[-] WindowsPhone.cmake
[edit]
[-] Windows-IntelLLVM-ASM.cmake
[edit]
[-] WindowsStore-Clang-ASM.cmake
[edit]
[-] Windows-IntelLLVM-C.cmake
[edit]
[-] WindowsStore-Clang-C.cmake
[edit]
[-] Windows-IntelLLVM-CXX.cmake
[edit]
[-] Windows-OpenWatcom-CXX.cmake
[edit]
[-] Windows-IntelLLVM-Fortran.cmake
[edit]
[-] WindowsStore-Clang-CXX.cmake
[edit]
[-] Windows-IntelLLVM.cmake
[edit]
[-] WindowsStore-GNU-ASM.cmake
[edit]
[-] Windows-MSVC-C.cmake
[edit]
[-] WindowsStore-GNU-C.cmake
[edit]
[-] Windows-MSVC-CXX.cmake
[edit]
[-] iOS.cmake
[edit]
[-] Windows-MSVC.cmake
[edit]
[-] WindowsStore-GNU-CXX.cmake
[edit]
[-] Windows-NVIDIA-CUDA.cmake
[edit]
[-] WindowsStore-MSVC-C.cmake
[edit]
[-] kFreeBSD.cmake
[edit]
[-] syllable.cmake
[edit]
[-] tvOS-Determine-CXX.cmake
[edit]
[-] tvOS-Initialize.cmake
[edit]
[-] watchOS-Determine-CXX.cmake
[edit]
[-] watchOS-Initialize.cmake
[edit]
[-] ADSP-C.cmake
[edit]
[-] ADSP-CXX.cmake
[edit]
[-] ADSP-Common.cmake
[edit]
[-] ADSP.cmake
[edit]
[-] AIX-IBMClang-CXX.cmake
[edit]
[-] Generic-ELF.cmake
[edit]
[-] Linux-Fujitsu-CXX.cmake
[edit]
[-] Linux-LCC-C.cmake
[edit]
[-] Linux-LCC-Fortran.cmake
[edit]
[-] MSYS-Clang-C.cmake
[edit]
[-] MSYS-Determine-CXX.cmake
[edit]
[-] MSYS-GNU-Fortran.cmake
[edit]
[-] MSYS-windres.cmake
[edit]
[-] WindowsStore-MSVC-CXX.cmake
[edit]
[-] WindowsStore.cmake
[edit]
[-] UnixPaths.cmake
[edit]
[-] Xenix.cmake
[edit]
[-] UnixWare.cmake
[edit]
[-] Windows-OpenWatcom.cmake
[edit]
[-] Windows-Apple-Swift.cmake
[edit]
[-] Windows-PGI-C.cmake
[edit]
[-] Windows-Borland-C.cmake
[edit]
[-] Windows-PGI-Fortran.cmake
[edit]
[-] Windows-Borland-CXX.cmake
[edit]
[-] Windows-PGI.cmake
[edit]
[-] ADSP-Determine.cmake
[edit]
[-] AIX-IBMClang-C.cmake
[edit]
[-] AIX-IBMClang.cmake
[edit]
[-] Linux-Fujitsu-C.cmake
[edit]
[-] Linux-Fujitsu.cmake
[edit]
[-] Linux-LCC-CXX.cmake
[edit]
[-] Linux-LCC.cmake
[edit]
[-] MSYS-Clang-CXX.cmake
[edit]
[-] MSYS-GNU-C.cmake
[edit]
[-] MSYS-GNU-CXX.cmake
[edit]
[-] MSYS-GNU.cmake
[edit]
[-] MSYS.cmake
[edit]
[-] SerenityOS-Clang-ASM.cmake
[edit]
[-] SerenityOS-Clang-C.cmake
[edit]
[-] SerenityOS-Clang-CXX.cmake
[edit]
[-] SerenityOS-GNU-ASM.cmake
[edit]
[-] SerenityOS-GNU-C.cmake
[edit]
[-] SerenityOS-GNU-CXX.cmake
[edit]
[-] SerenityOS-GNU.cmake
[edit]
[-] SerenityOS.cmake
[edit]
[-] Windows-Clang-HIP.cmake
[edit]
[-] Windows-LLVMFlang-Fortran.cmake
[edit]
[-] Windows3x-OpenWatcom-C.cmake
[edit]
[-] Windows3x-OpenWatcom-CXX.cmake
[edit]
[-] Windows3x-OpenWatcom.cmake
[edit]
[-] Windows3x.cmake
[edit]