2013-10-24 21:04:24 +04:00
|
|
|
include(RunCMake)
|
|
|
|
|
|
|
|
if("${RunCMake_GENERATOR}" MATCHES "Visual Studio|Xcode")
|
|
|
|
run_cmake(NoCompilerC-IDE)
|
|
|
|
run_cmake(NoCompilerCXX-IDE)
|
|
|
|
run_cmake(NoCompilerCandCXX-IDE)
|
2015-08-06 00:23:07 +03:00
|
|
|
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)
|
2013-10-24 21:04:24 +04:00
|
|
|
else()
|
|
|
|
run_cmake(BadCompilerC)
|
|
|
|
run_cmake(BadCompilerCXX)
|
|
|
|
run_cmake(BadCompilerCandCXX)
|
|
|
|
endif()
|