summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-20 22:51:03 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-20 22:51:03 (GMT)
commitf7fae15d39d6e290686487778485734227415088 (patch)
tree4d9b374c6b9cbee02781bf442ab078cfdd449f87 /Source/cmCacheManager.h
parentf3d63c1932f5a9d2b159ccddf9acd09f8c5358c2 (diff)
downloadCMake-f7fae15d39d6e290686487778485734227415088.zip
CMake-f7fae15d39d6e290686487778485734227415088.tar.gz
CMake-f7fae15d39d6e290686487778485734227415088.tar.bz2
ENH: add command line arguments to set cache entries
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r--Source/cmCacheManager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCacheManager.h b/Source/cmCacheManager.h
index 59e776c..154b0ae 100644
--- a/Source/cmCacheManager.h
+++ b/Source/cmCacheManager.h
@@ -102,6 +102,12 @@ public:
///! Remove an entry from the cache
void RemoveCacheEntry(const char* key);
+ ///! Break up a line like VAR:type="value" into var, type and value
+ static bool ParseEntry(const char* entry,
+ std::string& var,
+ std::string& value,
+ CacheEntryType& type);
+
protected:
///! Add an entry into the cache
void AddCacheEntry(const char* key, const char* value,