2
set(BadArg1-STDERR "missing RESULT specification")
4
set(BadArg2-STDERR "missing QUERY specification")
6
set(BadArg3-STDERR "does not recognize <key> FOOBAR")
7
set(QueryList-RESULT 0)
8
set(QueryList-STDERR "\\[[0-9]+;[0-9]+\\]")
10
function(try_and_print key)
11
cmake_host_system_information(RESULT RESULT QUERY ${key})
12
message(STATUS "[${key}] [${RESULT}]")
15
message("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)")
17
try_and_print(NUMBER_OF_LOGICAL_CORES)
18
try_and_print(NUMBER_OF_PHYSICAL_CORES)
19
try_and_print(HOSTNAME)
21
try_and_print(TOTAL_VIRTUAL_MEMORY)
22
try_and_print(AVAILABLE_VIRTUAL_MEMORY)
23
try_and_print(TOTAL_PHYSICAL_MEMORY)
24
try_and_print(AVAILABLE_PHYSICAL_MEMORY)
26
include("@CMAKE_CURRENT_SOURCE_DIR@/CheckCMakeTest.cmake")
28
check_cmake_test(CMakeHostSystemInformation