diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-06 16:20:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-03-06 16:20:26 (GMT) |
commit | 814b8856a0966a5d396583dcb36bbc8a225371af (patch) | |
tree | aefa3a421a34471d25558e0f749ee531a9ee5d8a /Tests/SystemInformation/CMakeLists.txt | |
parent | ce750180baec52f1bb64fbd1afe7c1aff1338c5c (diff) | |
download | CMake-814b8856a0966a5d396583dcb36bbc8a225371af.zip CMake-814b8856a0966a5d396583dcb36bbc8a225371af.tar.gz CMake-814b8856a0966a5d396583dcb36bbc8a225371af.tar.bz2 |
Add command for accessing cmake properties. At this point the only properties are VARIABLES and CACHE_VARIABLES. Also add test for this feature
Diffstat (limited to 'Tests/SystemInformation/CMakeLists.txt')
-rw-r--r-- | Tests/SystemInformation/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/SystemInformation/CMakeLists.txt b/Tests/SystemInformation/CMakeLists.txt index 54feeff..7e67f56 100644 --- a/Tests/SystemInformation/CMakeLists.txt +++ b/Tests/SystemInformation/CMakeLists.txt @@ -6,3 +6,8 @@ CONFIGURE_FILE(${DumpInformation_SOURCE_DIR}/DumpInformation.h.in ${DumpInformation_BINARY_DIR}/DumpInformation.h) ADD_EXECUTABLE(DumpInformation DumpInformation.cxx) +GET_CMAKE_PROPERTY(VARS VARIABLES) +FOREACH(var ${VARS}) + MESSAGE(STATUS "Variable ${var} \"${${var}}\"") +ENDFOREACH(var ${VARS}) + |