blob: 19d149c1119ada1e54158def7350eab8651ef946 (
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)
if("${RunCMake_GENERATOR}" MATCHES "Visual Studio|Xcode")
run_cmake(NoCompilerC-IDE)
run_cmake(NoCompilerCXX-IDE)
run_cmake(NoCompilerCandCXX-IDE)
elseif(RunCMake_GENERATOR STREQUAL "NMake Makefiles")
set(RunCMake-stderr-file BadCompilerC-stderr-NMake.txt)
run_cmake(BadCompilerC)
set(RunCMake-stderr-file BadCompilerCXX-stderr-NMake.txt)
run_cmake(BadCompilerCXX)
set(RunCMake-stderr-file BadCompilerCandCXX-stderr-NMake.txt)
run_cmake(BadCompilerCandCXX)
elseif(RunCMake_GENERATOR STREQUAL "NMake Makefiles JOM")
set(RunCMake-stderr-file BadCompilerC-stderr-JOM.txt)
run_cmake(BadCompilerC)
set(RunCMake-stderr-file BadCompilerCXX-stderr-JOM.txt)
run_cmake(BadCompilerCXX)
set(RunCMake-stderr-file BadCompilerCandCXX-stderr-JOM.txt)
run_cmake(BadCompilerCandCXX)
else()
run_cmake(BadCompilerC)
run_cmake(BadCompilerCXX)
run_cmake(BadCompilerCandCXX)
endif()
|