mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-13 01:29:02 -05:00
64ac01451d
Cases for `CheckSource{Compiles,Runs}` and `Check{Compiler,Linker}Flag`
cover the modules with the language as a parameter, not the
language-specific modules.
26 lines
454 B
CMake
26 lines
454 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(NotEnabledLanguage)
|
|
run_cmake(NonExistentLanguage)
|
|
run_cmake(UnknownArgument)
|
|
|
|
run_cmake(CheckSourceRunsC)
|
|
run_cmake(CheckSourceRunsCXX)
|
|
|
|
if (APPLE)
|
|
run_cmake(CheckSourceRunsOBJC)
|
|
run_cmake(CheckSourceRunsOBJCXX)
|
|
endif()
|
|
|
|
if (CMAKE_Fortran_COMPILER_ID)
|
|
run_cmake(CheckSourceRunsFortran)
|
|
endif()
|
|
|
|
if (CMake_TEST_CUDA)
|
|
run_cmake(CheckSourceRunsCUDA)
|
|
endif()
|
|
|
|
if (CMake_TEST_HIP)
|
|
run_cmake(CheckSourceRunsHIP)
|
|
endif()
|