summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckCompilerFlag/RunCMakeTest.cmake
blob: e4d65b836d22fbeb4bb9e4b0be6bcd80afbf014e (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(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_ISPC)
  run_cmake(CheckISPCCompilerFlag)
endif()