summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-08-25 14:31:29 (GMT)
committerBrad King <brad.king@kitware.com>2008-08-25 14:31:29 (GMT)
commit33e865c041d95e383ce7e843a1a785cda78d13b7 (patch)
tree1d4f8014232a0ce4f6446123f472de6dc0d52751 /Tests/CMakeLists.txt
parent04fc897536fea61b548f06c21efca55db755a7e2 (diff)
downloadCMake-33e865c041d95e383ce7e843a1a785cda78d13b7.zip
CMake-33e865c041d95e383ce7e843a1a785cda78d13b7.tar.gz
CMake-33e865c041d95e383ce7e843a1a785cda78d13b7.tar.bz2
ENH: Add unset() command.
This introduces the unset() command to make it easy to unset CMake variables, environment variables, and CMake cache variables. Previously it was not even possible to unset ENV or CACHE variables (as in completely remove them). Changes based on patch from Philip Lowman. See issue #7507.
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r--Tests/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index ce0cd42..14366b3 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -94,6 +94,7 @@ IF(BUILD_TESTING)
ADD_TEST_MACRO(SourceGroups SourceGroups)
ADD_TEST_MACRO(Preprocess Preprocess)
ADD_TEST_MACRO(ExportImport ExportImport)
+ ADD_TEST_MACRO(Unset Unset)
# If we are running right now with a UnixMakefiles based generator,