summaryrefslogtreecommitdiff
path: root/Source/cmCacheManager.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-11-20 17:51:03 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2001-11-20 17:51:03 -0500
commitf7fae15d39d6e290686487778485734227415088 (patch)
tree4d9b374c6b9cbee02781bf442ab078cfdd449f87 /Source/cmCacheManager.h
parentf3d63c1932f5a9d2b159ccddf9acd09f8c5358c2 (diff)
downloadcmake-f7fae15d39d6e290686487778485734227415088.tar.gz
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 59e776c830..154b0ae2b2 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,