diff options
author | Brad King <brad.king@kitware.com> | 2009-03-13 14:53:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-03-13 14:53:47 (GMT) |
commit | 5e49dc4346c276ada7bea1376266e8fb2956b78c (patch) | |
tree | 6732a1dbe3c8042ccd6a08a82e1e4804056b27a6 /Source/cmCacheManager.h | |
parent | c6d0043e2a256d1785cb4b9f6497e578f7eaed19 (diff) | |
download | CMake-5e49dc4346c276ada7bea1376266e8fb2956b78c.zip CMake-5e49dc4346c276ada7bea1376266e8fb2956b78c.tar.gz CMake-5e49dc4346c276ada7bea1376266e8fb2956b78c.tar.bz2 |
BUG: Fix cache properties for CMAKE_STRICT build
All cmPropertyMap instances must have CMakeInstance set. This teaches
cmCacheManager to set it on cache entries.
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h index 4d7254d..2ac6994 100644 --- a/Source/cmCacheManager.h +++ b/Source/cmCacheManager.h @@ -21,6 +21,7 @@ #include "cmPropertyMap.h" class cmMakefile; class cmMarkAsAdvancedCommand; +class cmake; /** \class cmCacheManager * \brief Control class for cmake's cache @@ -31,7 +32,7 @@ class cmMarkAsAdvancedCommand; class cmCacheManager { public: - cmCacheManager(); + cmCacheManager(cmake* cm); class CacheIterator; friend class cmCacheManager::CacheIterator; enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC, @@ -175,6 +176,7 @@ protected: unsigned int CacheMajorVersion; unsigned int CacheMinorVersion; private: + cmake* CMakeInstance; typedef std::map<cmStdString, CacheEntry> CacheEntryMap; static void OutputHelpString(std::ostream& fout, const std::string& helpString); |