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

run_cmake(NotEnabledLanguage)
run_cmake(NonExistentLanguage)

run_cmake(CheckCSourceCompiles)
run_cmake(CheckCXXSourceCompiles)

if (APPLE)
  run_cmake(CheckOBJCSourceCompiles)
  run_cmake(CheckOBJCXXSourceCompiles)
endif()

if (CMAKE_Fortran_COMPILER_ID)
  run_cmake(CheckFortranSourceCompiles)
endif()

if (CMake_TEST_CUDA)
  run_cmake(CheckCUDASourceCompiles)
endif()

if(CMake_TEST_ISPC)
  run_cmake(CheckISPCSourceCompiles)
endif()