mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-27 04:09:36 +03:00
Do not copy the list of enabled languages from the outer generator. It is populated as languages are enabled inside the test project. Fixes: #27684
39 lines
786 B
CMake
39 lines
786 B
CMake
include(RunCMake)
|
|
|
|
run_cmake(NotEnabledLanguage)
|
|
run_cmake(NonExistentLanguage)
|
|
run_cmake(UnknownArgument)
|
|
run_cmake(MultipleLanguages)
|
|
|
|
run_cmake(CheckCSourceCompiles)
|
|
run_cmake(CheckCXXSourceCompiles)
|
|
run_cmake(CheckSourceCompilesC)
|
|
run_cmake(CheckSourceCompilesCXX)
|
|
|
|
if (APPLE)
|
|
run_cmake(CheckOBJCSourceCompiles)
|
|
run_cmake(CheckOBJCXXSourceCompiles)
|
|
run_cmake(CheckSourceCompilesOBJC)
|
|
run_cmake(CheckSourceCompilesOBJCXX)
|
|
endif()
|
|
|
|
if (CMAKE_Fortran_COMPILER_ID)
|
|
run_cmake(CheckSourceCompilesFortran)
|
|
endif()
|
|
|
|
if (CMake_TEST_CUDA)
|
|
run_cmake(CheckSourceCompilesCUDA)
|
|
endif()
|
|
|
|
if(CMake_TEST_ISPC)
|
|
run_cmake(CheckSourceCompilesISPC)
|
|
endif()
|
|
|
|
if(CMake_TEST_HIP)
|
|
run_cmake(CheckSourceCompilesHIP)
|
|
endif()
|
|
|
|
if(CMake_TEST_Swift)
|
|
run_cmake(CheckSourceCompilesSwift)
|
|
endif()
|