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/cmPropertyDefinition.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/cmPropertyDefinition.cxx')
-rw-r--r-- | Source/cmPropertyDefinition.cxx | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/Source/cmPropertyDefinition.cxx b/Source/cmPropertyDefinition.cxx index cc6c940..3acd184 100644 --- a/Source/cmPropertyDefinition.cxx +++ b/Source/cmPropertyDefinition.cxx @@ -20,7 +20,7 @@ cmDocumentationEntry cmPropertyDefinition::GetDocumentation() const { cmDocumentationEntry e; - e.name = this->LongName.c_str(); + e.name = this->Name.c_str(); e.brief = this->ShortDescription.size() ? this->ShortDescription.c_str() : 0; e.full = this->FullDescription.size() ? this->FullDescription.c_str() : 0; @@ -44,24 +44,5 @@ void cmPropertyDefinition { this->FullDescription = fullDescription; } - this->LongName = this->Name; - switch (this->Scope) - { - case cmProperty::TARGET: this->LongName += " on a target"; - break; - case cmProperty::SOURCE_FILE: this->LongName += " on a source file"; - break; - case cmProperty::DIRECTORY: this->LongName += " on a directory"; - break; - case cmProperty::GLOBAL: this->LongName += " globally"; - break; - case cmProperty::TEST: this->LongName += " on CTest"; - break; - case cmProperty::VARIABLE: this->LongName += " as a variable"; - break; - case cmProperty::CACHED_VARIABLE: this->LongName += - " as a cached variable"; - break; - } } |