2014-11-26 00:47:44 +03:00
|
|
|
include(RunCMake)
|
|
|
|
|
|
|
|
if (RunCMake_GENERATOR MATCHES "Visual Studio")
|
|
|
|
set(RunCMake-stderr-file CompileOptions-stderr-VS.txt)
|
|
|
|
run_cmake(CompileOptions)
|
|
|
|
endif()
|
2015-03-04 23:46:42 +03:00
|
|
|
if (RunCMake_GENERATOR STREQUAL "Xcode")
|
|
|
|
set(RunCMake-stderr-file CompileDefinitions-stderr-Xcode.txt)
|
|
|
|
run_cmake(CompileDefinitions)
|
|
|
|
elseif (RunCMake_GENERATOR MATCHES "Visual Studio")
|
|
|
|
set(RunCMake-stderr-file CompileDefinitions-stderr-VS.txt)
|
|
|
|
run_cmake(CompileDefinitions)
|
|
|
|
endif()
|
2015-03-04 23:53:15 +03:00
|
|
|
if (RunCMake_GENERATOR STREQUAL "Xcode")
|
|
|
|
set(RunCMake-stderr-file IncludeDirectories-stderr-Xcode.txt)
|
|
|
|
run_cmake(IncludeDirectories)
|
|
|
|
elseif (RunCMake_GENERATOR MATCHES "Visual Studio")
|
|
|
|
set(RunCMake-stderr-file IncludeDirectories-stderr-VS.txt)
|
|
|
|
run_cmake(IncludeDirectories)
|
|
|
|
endif()
|