diff options
author | Brad King <brad.king@kitware.com> | 2016-07-18 13:28:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-07-18 13:28:42 (GMT) |
commit | 03407040d4d7d89fbb45e941a9dfb4257003a8a8 (patch) | |
tree | 9f064958df49861718f38a4216471aa7d314924e /Source/kwsys/SystemTools.hxx.in | |
parent | 4bb3c4102fa40d802ab0b0d0500afe5c9887038f (diff) | |
parent | bbb3216a2cac24ea18731141a3eadc62e11320d2 (diff) | |
download | CMake-03407040d4d7d89fbb45e941a9dfb4257003a8a8.zip CMake-03407040d4d7d89fbb45e941a9dfb4257003a8a8.tar.gz CMake-03407040d4d7d89fbb45e941a9dfb4257003a8a8.tar.bz2 |
Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
KWSys 2016-07-15 (f396bf43)
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r-- | Source/kwsys/SystemTools.hxx.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index bba5a5c..8f01e75 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -53,6 +53,7 @@ namespace @KWSYS_NAMESPACE@ class SystemToolsTranslationMap; class SystemToolsPathCaseMap; +class SystemToolsEnvMap; /** \class SystemToolsManager * \brief Use to make sure SystemTools is initialized before it is used @@ -843,6 +844,8 @@ public: static const char* GetEnv(const std::string& key); static bool GetEnv(const char* key, std::string& result); static bool GetEnv(const std::string& key, std::string& result); + static bool HasEnv(const char* key); + static bool HasEnv(const std::string& key); /** Put a string into the environment of the form var=value */ @@ -989,6 +992,7 @@ private: static SystemToolsTranslationMap *TranslationMap; #ifdef _WIN32 static SystemToolsPathCaseMap *PathCaseMap; + static SystemToolsEnvMap *EnvMap; #endif #ifdef __CYGWIN__ static SystemToolsTranslationMap *Cyg2Win32Map; |