summaryrefslogtreecommitdiff
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-17 11:44:07 -0500
committerAndy Cedilnik <andy.cedilnik@kitware.com>2006-03-17 11:44:07 -0500
commitd5631f370b2355b69e5895734d8fe7e4c090e8cf (patch)
tree15ad41638db23e19d507b33bbf93fb32eb9d6bc8 /Source/cmSystemTools.h
parentfe1fda64310caad84e183da3a2e830b293578ceb (diff)
downloadcmake-d5631f370b2355b69e5895734d8fe7e4c090e8cf.tar.gz
ENH: Add a method to remove environment variables
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r--Source/cmSystemTools.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h
index 8af74ed645..6988139198 100644
--- a/Source/cmSystemTools.h
+++ b/Source/cmSystemTools.h
@@ -291,9 +291,14 @@ public:
*/
static std::string RelativePath(const char* local, const char* remote);
- /** put a string into the environment
+ /** Put a string into the environment
of the form var=value */
static bool PutEnv(const char* value);
+
+ /** Remove an environment variable */
+ static bool UnsetEnv(const char* value);
+
+ /** Get the list of all environment variables */
static std::vector<std::string> GetEnvironmentVariables();
/** Setup the environment to enable VS 8 IDE output. */