summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerNotFound/RunCMakeTest.cmake
blob: 8b84f39dd0ee74df52c411273b52e5e72042f9e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
include(RunCMake)

if("${RunCMake_GENERATOR}" MATCHES "Visual Studio|Xcode")
  run_cmake(NoCompilerC-IDE)
  run_cmake(NoCompilerCXX-IDE)
  run_cmake(NoCompilerCandCXX-IDE)
else()
  run_cmake(BadCompilerC)
  run_cmake(BadCompilerCXX)
  run_cmake(BadCompilerCandCXX)
endif()