summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-06-10 07:34:49 (GMT)
committerBrad King <brad.king@kitware.com>2016-06-10 13:33:41 (GMT)
commit6eee24634bc1791a64f8146c0f79c769eb9dfb83 (patch)
tree8cf6265f18db9aa8b2f4354ce59a5d9aa2bc825c /Source/cmCacheManager.cxx
parent120899c6980fcd81aa2a0d7b733ae15332a7a133 (diff)
downloadCMake-6eee24634bc1791a64f8146c0f79c769eb9dfb83.zip
CMake-6eee24634bc1791a64f8146c0f79c769eb9dfb83.tar.gz
CMake-6eee24634bc1791a64f8146c0f79c769eb9dfb83.tar.bz2
cmCacheEntry: Retrieve all properties of cache entries
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 676e84a..233d9ca 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -539,6 +539,11 @@ void cmCacheManager::CacheIterator::Next()
}
}
+std::vector<std::string> cmCacheManager::CacheIterator::GetPropertyList() const
+{
+ return this->GetEntry().GetPropertyList();
+}
+
void cmCacheManager::CacheIterator::SetValue(const char* value)
{
if (this->IsAtEnd()) {
@@ -558,6 +563,11 @@ bool cmCacheManager::CacheIterator::GetValueAsBool() const
return cmSystemTools::IsOn(this->GetEntry().Value.c_str());
}
+std::vector<std::string> cmCacheManager::CacheEntry::GetPropertyList() const
+{
+ return this->Properties.GetPropertyList();
+}
+
const char* cmCacheManager::CacheEntry::GetProperty(
const std::string& prop) const
{