summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-24 16:40:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-24 16:40:37 (GMT)
commit818b0e5bc1755d72e429ab89391254647c194eb5 (patch)
tree3d9f48f45fa5d92d9f5717f35a0a837d8d23a863 /Source/cmCacheManager.h
parent435a8a70338d73d1f1eb1aa1cd431ee6a369765d (diff)
downloadCMake-818b0e5bc1755d72e429ab89391254647c194eb5.zip
CMake-818b0e5bc1755d72e429ab89391254647c194eb5.tar.gz
CMake-818b0e5bc1755d72e429ab89391254647c194eb5.tar.bz2
BUG: fix build directory problem
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index f5ded99..2da1817 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -48,6 +48,7 @@ public:
//! Singleton pattern get instance of the cmCacheManager.
static cmCacheManager* GetInstance();
+
//! Load a cache for given makefile. Loads from ouput home.
bool LoadCache(cmMakefile*);
@@ -56,12 +57,18 @@ public:
//! Add an entry into the cache
void AddCacheEntry(const char* key, const char* value, CacheEntryType type);
+
+ //! Add a BOOL entry into the cache
+ void AddCacheEntry(const char* key, bool);
//! Remove an entry from the cache
void RemoveCacheEntry(const char* key);
//! Get a value from the cache given a key
const char* GetCacheValue(const char* key);
+ //! Test a boolean cache entry to see if it is true or false, returns false
+ // if no entry.
+ bool IsOn(const char*);
//! Print the cache to a stream
void PrintCache(std::ostream&);