diff options
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; |