diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-11 19:53:58 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-11 19:53:58 (GMT) |
commit | 9f16292b6a3a5959b2e7ddb11e54029b02701965 (patch) | |
tree | 7603d0c38da2df2465986f66c9bbf4971a7e4aa2 /Source/cmake.cxx | |
parent | ab10b43ec5405452e149c70c1685066f205941e8 (diff) | |
download | CMake-9f16292b6a3a5959b2e7ddb11e54029b02701965.zip CMake-9f16292b6a3a5959b2e7ddb11e54029b02701965.tar.gz CMake-9f16292b6a3a5959b2e7ddb11e54029b02701965.tar.bz2 |
STYLE: sort the property documentation into
global/directory/target/test/sourcefile and variable sections
Alex
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); } |