summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-07-18 13:28:42 (GMT)
committerBrad King <brad.king@kitware.com>2016-07-18 13:28:42 (GMT)
commit03407040d4d7d89fbb45e941a9dfb4257003a8a8 (patch)
tree9f064958df49861718f38a4216471aa7d314924e /Source/kwsys/SystemTools.hxx.in
parent4bb3c4102fa40d802ab0b0d0500afe5c9887038f (diff)
parentbbb3216a2cac24ea18731141a3eadc62e11320d2 (diff)
downloadCMake-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.in4
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;