summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-06-05 16:01:30 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2009-06-05 16:01:30 (GMT)
commitfdff8eb300872af8546b738c0ffc4ac704d5feac (patch)
treeed5c6e5e82c0ecc75d19ef2b2ba86657537eaa51 /Source/kwsys/SystemTools.hxx.in
parentd5f80203918c7428c90735c43bce7ed2865bda83 (diff)
downloadCMake-fdff8eb300872af8546b738c0ffc4ac704d5feac.zip
CMake-fdff8eb300872af8546b738c0ffc4ac704d5feac.tar.gz
CMake-fdff8eb300872af8546b738c0ffc4ac704d5feac.tar.bz2
ENH: move PutEnv to SystemTools
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r--Source/kwsys/SystemTools.hxx.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in
index 31a876d..8cba810 100644
--- a/Source/kwsys/SystemTools.hxx.in
+++ b/Source/kwsys/SystemTools.hxx.in
@@ -754,6 +754,10 @@ public:
static const char* GetEnv(const char* key);
static bool GetEnv(const char* key, kwsys_stl::string& result);
+ /** Put a string into the environment
+ of the form var=value */
+ static bool PutEnv(const char* value);
+
/**
* Get current working directory CWD
*/