summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CheckCompilerFlag/RunCMakeTest.cmake
blob: 7a4e2cebb60257bca2716d2fba6df69932bb6d91 (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(CheckCCompilerFlag)
run_cmake(CheckCXXCompilerFlag)

if (APPLE)
  run_cmake(CheckOBJCCompilerFlag)
  run_cmake(CheckOBJCXXCompilerFlag)
endif()

if (CMAKE_Fortran_COMPILER_ID)
  run_cmake(CheckFortranCompilerFlag)
endif()

if (CMake_TEST_CUDA)
  run_cmake(CheckCUDACompilerFlag)
endif()

if(CMake_TEST_ISPC)
  run_cmake(CheckISPCCompilerFlag)
endif()