You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
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()
|