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.
23 lines
392 B
23 lines
392 B
include(RunCMake)
|
|
|
|
if(SYSTEM_NAME STREQUAL "FreeBSD")
|
|
set(variant "-FreeBSD")
|
|
elseif(SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$")
|
|
set(variant "-BSD")
|
|
else()
|
|
set(variant "")
|
|
endif()
|
|
|
|
foreach(case
|
|
Opt
|
|
Root
|
|
Usr
|
|
UsrLocal
|
|
)
|
|
set(RunCMake-stderr-file ${case}${variant}-stderr.txt)
|
|
run_cmake(${case})
|
|
unset(RunCMake-stderr-file)
|
|
endforeach()
|
|
|
|
run_cmake(NoSystem)
|