Commit 63c0e92c authored by Tobias Hunger's avatar Tobias Hunger Committed by Brad King
Browse files

cmState: Expose list of properties of values in the cache

parent 6eee2463
......@@ -246,6 +246,14 @@ void cmState::SetCacheEntryBoolProperty(std::string const& key,
it.SetProperty(propertyName, value);
std::vector<std::string> cmState::GetCacheEntryPropertyList(
const std::string& key)
cmCacheManager::CacheIterator it =
return it.GetPropertyList();
const char* cmState::GetCacheEntryProperty(std::string const& key,
std::string const& propertyName)
......@@ -247,6 +247,7 @@ public:
std::string const& value);
void SetCacheEntryBoolProperty(std::string const& key,
std::string const& propertyName, bool value);
std::vector<std::string> GetCacheEntryPropertyList(std::string const& key);
const char* GetCacheEntryProperty(std::string const& key,
std::string const& propertyName);
bool GetCacheEntryPropertyAsBool(std::string const& key,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment