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.
24 lines
673 B
24 lines
673 B
12 years ago
|
message(STATUS "Testing configuration ${activeConfig}.")
|
||
|
|
||
|
macro(TestExists exeName)
|
||
|
set(exeFile "${dir}/${activeConfig}/${exeName}.exe")
|
||
|
if(${ARGN} EXISTS "${exeFile}")
|
||
|
message(STATUS "File ${exeFile} was correctly found ${ARGN} to exist.")
|
||
|
else()
|
||
|
message(FATAL_ERROR "File ${exeFile} was expected ${ARGN} to exist!")
|
||
|
endif()
|
||
|
endmacro()
|
||
|
|
||
|
TestExists(DefaultBuilt)
|
||
|
TestExists(AlwaysBuilt)
|
||
|
TestExists(NeverBuilt NOT)
|
||
|
foreach(config ${allConfigs})
|
||
|
if(config STREQUAL activeConfig)
|
||
|
TestExists(BuiltIn${config})
|
||
|
TestExists(ExcludedIn${config} NOT)
|
||
|
else()
|
||
|
TestExists(BuiltIn${config} NOT)
|
||
|
TestExists(ExcludedIn${config})
|
||
|
endif()
|
||
|
endforeach()
|