summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerTest/RunCMakeTest.cmake
blob: 2dd9c7fbe85e0cb1e2dac8cf731718ba3ed658b8 (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
25
include(RunCMake)

run_cmake(C)
run_cmake(CXX)

if(CMake_TEST_CUDA)
  run_cmake(CUDA)
endif()

if(CMake_TEST_Fortran)
  run_cmake(Fortran)
endif()

if(CMake_TEST_HIP)
  run_cmake(HIP)
endif()

if(CMake_TEST_ISPC)
  run_cmake(ISPC)
endif()

if(CMake_TEST_OBJC)
  run_cmake(OBJC)
  run_cmake(OBJCXX)
endif()