PATH:
usr
/
share
/
cmake
/
Modules
/
Platform
set(LINUX 1) set(CMAKE_DL_LIBS "dl") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,") set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP ":") set(CMAKE_SHARED_LIBRARY_RPATH_ORIGIN_TOKEN "\$ORIGIN") set(CMAKE_SHARED_LIBRARY_RPATH_LINK_C_FLAG "-Wl,-rpath-link,") set(CMAKE_SHARED_LIBRARY_SONAME_C_FLAG "-Wl,-soname,") set(CMAKE_EXE_EXPORTS_C_FLAG "-Wl,--export-dynamic") # Shared libraries with no builtin soname may not be linked safely by # specifying the file path. set(CMAKE_PLATFORM_USES_PATH_WHEN_NO_SONAME 1) # Initialize C link type selection flags. These flags are used when # building a shared library, shared module, or executable that links # to other libraries to select whether to use the static or shared # versions of the libraries. foreach(type SHARED_LIBRARY SHARED_MODULE EXE) set(CMAKE_${type}_LINK_STATIC_C_FLAGS "-Wl,-Bstatic") set(CMAKE_${type}_LINK_DYNAMIC_C_FLAGS "-Wl,-Bdynamic") endforeach() # Features for LINK_LIBRARY generator expression ## check linker capabilities if(NOT DEFINED _CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED) execute_process(COMMAND "${CMAKE_LINKER}" --help OUTPUT_VARIABLE __linker_help ERROR_VARIABLE __linker_help) if(__linker_help MATCHES "--push-state" AND __linker_help MATCHES "--pop-state") set(_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED TRUE CACHE INTERNAL "linker supports push/pop state") else() set(_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED FALSE CACHE INTERNAL "linker supports push/pop state") endif() unset(__linker_help) endif() ## WHOLE_ARCHIVE: Force loading all members of an archive if(_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED) set(CMAKE_LINK_LIBRARY_USING_WHOLE_ARCHIVE "LINKER:--push-state,--whole-archive" "<LINK_ITEM>" "LINKER:--pop-state") else() set(CMAKE_LINK_LIBRARY_USING_WHOLE_ARCHIVE "LINKER:--whole-archive" "<LINK_ITEM>" "LINKER:--no-whole-archive") endif() set(CMAKE_LINK_LIBRARY_USING_WHOLE_ARCHIVE_SUPPORTED TRUE) # Features for LINK_GROUP generator expression ## RESCAN: request the linker to rescan static libraries until there is ## no pending undefined symbols set(CMAKE_LINK_GROUP_USING_RESCAN "LINKER:--start-group" "LINKER:--end-group") set(CMAKE_LINK_GROUP_USING_RESCAN_SUPPORTED TRUE) # Debian policy requires that shared libraries be installed without # executable permission. Fedora policy requires that shared libraries # be installed with the executable permission. Since the native tools # create shared libraries with execute permission in the first place a # reasonable policy seems to be to install with execute permission by # default. In order to support debian packages we provide an option # here. The option default is based on the current distribution, but # packagers can set it explicitly on the command line. if(DEFINED CMAKE_INSTALL_SO_NO_EXE) # Store the decision variable in the cache. This preserves any # setting the user provides on the command line. set(CMAKE_INSTALL_SO_NO_EXE "${CMAKE_INSTALL_SO_NO_EXE}" CACHE INTERNAL "Install .so files without execute permission.") else() # Store the decision variable as an internal cache entry to avoid # checking the platform every time. This option is advanced enough # that only package maintainers should need to adjust it. They are # capable of providing a setting on the command line. if(EXISTS "/etc/debian_version") set(CMAKE_INSTALL_SO_NO_EXE 1 CACHE INTERNAL "Install .so files without execute permission.") else() set(CMAKE_INSTALL_SO_NO_EXE 0 CACHE INTERNAL "Install .so files without execute permission.") endif() endif() # Match multiarch library directory names. set(CMAKE_LIBRARY_ARCHITECTURE_REGEX "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*") include(Platform/UnixPaths) # Debian has lib32 and lib64 paths only for compatibility so they should not be # searched. if(NOT CMAKE_CROSSCOMPILING) if (EXISTS "/etc/debian_version") set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB32_PATHS FALSE) set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE) endif() if (EXISTS "/etc/arch-release") set_property(GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE) endif() 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]