diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-20 17:51:03 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-11-20 17:51:03 -0500 |
commit | f7fae15d39d6e290686487778485734227415088 (patch) | |
tree | 4d9b374c6b9cbee02781bf442ab078cfdd449f87 /Source/cmCacheManager.h | |
parent | f3d63c1932f5a9d2b159ccddf9acd09f8c5358c2 (diff) | |
download | cmake-f7fae15d39d6e290686487778485734227415088.tar.gz |
ENH: add command line arguments to set cache entries
Diffstat (limited to 'Source/cmCacheManager.h')
-rw-r--r-- | Source/cmCacheManager.h | 6 |
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, |