summaryrefslogtreecommitdiffstats
path: root/Source/cmPropertyDefinition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmPropertyDefinition.cxx')
-rw-r--r--Source/cmPropertyDefinition.cxx21
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;
- }
}