diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-26 18:32:46 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-01-26 18:32:46 (GMT) |
commit | 222e9a2876fccaf5b7da399430b4ec0e4db5d4d4 (patch) | |
tree | c59ac6ae8d4ac8c5bd5f6417b8ce1f828c93039a /Source/cmSystemTools.h | |
parent | dd7f85a9dc791440b48138aecfff02fb934c1027 (diff) | |
download | CMake-222e9a2876fccaf5b7da399430b4ec0e4db5d4d4.zip CMake-222e9a2876fccaf5b7da399430b4ec0e4db5d4d4.tar.gz CMake-222e9a2876fccaf5b7da399430b4ec0e4db5d4d4.tar.bz2 |
BUG: fix put/get env problems
Diffstat (limited to 'Source/cmSystemTools.h')
-rw-r--r-- | Source/cmSystemTools.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmSystemTools.h b/Source/cmSystemTools.h index 4c5e425..a8bbc8b 100644 --- a/Source/cmSystemTools.h +++ b/Source/cmSystemTools.h @@ -256,6 +256,10 @@ public: static std::string RelativePath(const char* local, const char* remote); ///! split a path by separator into an array of strings, default is / static std::vector<cmStdString> SplitString(const char* s, char separator = '/'); + /** put a string into the environment + of the form var=value */ + static bool PutEnv(const char* value); + private: static bool s_ForceUnixPaths; static bool s_RunCommandHideConsole; |