summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-03-13 14:53:47 (GMT)
committerBrad King <brad.king@kitware.com>2009-03-13 14:53:47 (GMT)
commit5e49dc4346c276ada7bea1376266e8fb2956b78c (patch)
tree6732a1dbe3c8042ccd6a08a82e1e4804056b27a6 /Source/cmCacheManager.h
parentc6d0043e2a256d1785cb4b9f6497e578f7eaed19 (diff)
downloadCMake-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.h4
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);