diff options
author | Brad King <brad.king@kitware.com> | 2015-04-13 15:45:02 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-04-13 15:45:02 (GMT) |
commit | 62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3 (patch) | |
tree | 8ca950377efbfd2cf90c7fe61eb7ff566a121d5e /Source/cmake.h | |
parent | 92d61798937e42ecb7ae3d1be8b2b4ab7ce15fcb (diff) | |
parent | f081c5bdddcfcaaf5bee7b918fe5c7ff01faae35 (diff) | |
download | CMake-62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3.zip CMake-62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3.tar.gz CMake-62c5e6f1a19df0043a0e9aaba6cf7247f76a5cc3.tar.bz2 |
Merge topic 'introduce-cmState'
f081c5bd cmState: Move CacheEntryType enum from cmCacheManager.
f71fdf0e cmMakefile: Remove unused CacheManager accessor.
ff7169a0 Port to cmState.
a6b1ad13 Introduce cmState class.
Diffstat (limited to 'Source/cmake.h')
-rw-r--r-- | Source/cmake.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h index 4c2ad29..e80cc1c 100644 --- a/Source/cmake.h +++ b/Source/cmake.h @@ -19,6 +19,7 @@ #include "cmPropertyMap.h" #include "cmInstalledFile.h" #include "cmCacheManager.h" +#include "cmState.h" class cmGlobalGeneratorFactory; class cmGlobalGenerator; @@ -32,6 +33,7 @@ class cmDocumentationSection; class cmPolicies; class cmTarget; class cmGeneratedFileStream; +class cmState; /** \brief Represents a cmake invocation. * @@ -157,7 +159,7 @@ class cmake static bool ParseCacheEntry(const std::string& entry, std::string& var, std::string& value, - cmCacheManager::CacheEntryType& type); + cmState::CacheEntryType& type); int LoadCache(); bool LoadCache(const std::string& path); @@ -362,6 +364,9 @@ class cmake void UnwatchUnusedCli(const std::string& var); void WatchUnusedCli(const std::string& var); + + cmState* GetState() const { return this->State; } + protected: void RunCheckForUnusedVariables(); void InitializeProperties(); @@ -449,6 +454,8 @@ private: std::string GraphVizFile; InstalledFilesMap InstalledFiles; + cmState* State; + void UpdateConversionPathTable(); // Print a list of valid generators to stderr. |