diff options
author | Brad King <brad.king@kitware.com> | 2008-08-25 14:31:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-08-25 14:31:29 (GMT) |
commit | 33e865c041d95e383ce7e843a1a785cda78d13b7 (patch) | |
tree | 1d4f8014232a0ce4f6446123f472de6dc0d52751 /Source/cmMakefile.h | |
parent | 04fc897536fea61b548f06c21efca55db755a7e2 (diff) | |
download | CMake-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 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index f9d10b6..f78a1dd 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -278,6 +278,8 @@ public: * for cache entries, and will only affect the current makefile. */ void RemoveDefinition(const char* name); + ///! Remove a definition from the cache. + void RemoveCacheDefinition(const char* name); /** * Specify the name of the project for this build. |