diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-10 13:21:41 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-10 13:36:58 (GMT) |
commit | 062ed22ec43809068526706d2600297095412911 (patch) | |
tree | 92cb142a8d16457b6d1bce47c07289cd899aa59d /Source/cmState.h | |
parent | a02e53eb947b61dd25ecd139a213d4062fbc5b62 (diff) | |
download | CMake-062ed22ec43809068526706d2600297095412911.zip CMake-062ed22ec43809068526706d2600297095412911.tar.gz CMake-062ed22ec43809068526706d2600297095412911.tar.bz2 |
cmState: Add cache file manipulation wrappers.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r-- | Source/cmState.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmState.h b/Source/cmState.h index 1ffc4bf..3f0ac77 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -208,6 +208,14 @@ public: static const char* CacheEntryTypeToString(CacheEntryType); static bool IsCacheEntryType(std::string const& key); + bool LoadCache(const std::string& path, bool internal, + std::set<std::string>& excludes, + std::set<std::string>& includes); + + bool SaveCache(const std::string& path) ; + + bool DeleteCache(const std::string& path); + std::vector<std::string> GetCacheEntryKeys() const; const char* GetCacheEntryValue(std::string const& key) const; const char* GetInitializedCacheValue(std::string const& key) const; |