diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-17 20:46:20 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-03-17 20:46:20 (GMT) |
commit | b20cb780495630fa8088f9c95309597af22734c1 (patch) | |
tree | 2747cff8befd423ac960dcec3caab1dc3ed121e4 /Source/cmSystemTools.h | |
parent | ca8d1bc99b68f39fb24e76ac1a546e7849248771 (diff) | |
download | CMake-b20cb780495630fa8088f9c95309597af22734c1.zip CMake-b20cb780495630fa8088f9c95309597af22734c1.tar.gz CMake-b20cb780495630fa8088f9c95309597af22734c1.tar.bz2 |
ENH: Handle missing unsetenv and add check for environ
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 6988139..0973a07 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -295,11 +295,13 @@ public: of the form var=value */ static bool PutEnv(const char* value); +#ifdef CMAKE_BUILD_WITH_CMAKE /** Remove an environment variable */ static bool UnsetEnv(const char* value); /** Get the list of all environment variables */ static std::vector<std::string> GetEnvironmentVariables(); +#endif /** Setup the environment to enable VS 8 IDE output. */ static void EnableVSConsoleOutput(); |