summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-01-26 18:32:46 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-01-26 18:32:46 (GMT)
commit222e9a2876fccaf5b7da399430b4ec0e4db5d4d4 (patch)
treec59ac6ae8d4ac8c5bd5f6417b8ce1f828c93039a /Source/cmSystemTools.h
parentdd7f85a9dc791440b48138aecfff02fb934c1027 (diff)
downloadCMake-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.h4
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;