summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckSourceRuns/RunCMakeTest.cmake
blob: b27b08daa29833419e4b80c3a766f0a1beb2676e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
include(RunCMake)

run_cmake(NotEnabledLanguage)
run_cmake(NonExistentLanguage)

run_cmake(CheckCSourceRuns)
run_cmake(CheckCXXSourceRuns)

if (APPLE)
  run_cmake(CheckOBJCSourceRuns)
  run_cmake(CheckOBJCXXSourceRuns)
endif()

if (CMAKE_Fortran_COMPILER_ID)
  run_cmake(CheckFortranSourceRuns)
endif()

if (CMake_TEST_CUDA)
  run_cmake(CheckCUDASourceRuns)
endif()