diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 6d7e398..7e64476 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -2165,16 +2165,11 @@ void cmake::GetCommandDocumentation(std::vector<cmDocumentationEntry>& v, v.push_back(empty); } -void cmake::GetPropertiesDocumentation(std::vector<cmDocumentationEntry>& v) +void cmake::GetPropertiesDocumentation(std::vector<cmDocumentationEntry>& v, + cmProperty::ScopeType type) { // get the properties for cmake - std::map<cmProperty::ScopeType, cmPropertyDefinitionMap>::iterator i = - this->PropertyDefinitions.begin(); - for (; i != this->PropertyDefinitions.end(); ++i) - { - i->second.GetPropertiesDocumentation(v); - } - + this->PropertyDefinitions[type].GetPropertiesDocumentation(v); cmDocumentationEntry empty = {0,0,0}; v.push_back(empty); } |