summaryrefslogtreecommitdiff
path: root/Source/cmPropertyDefinition.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-24 14:43:10 -0400
committerKen Martin <ken.martin@kitware.com>2007-10-24 14:43:10 -0400
commitf72d666a7bd7a1b58db5f08b5ee9124f6768fa2a (patch)
tree60e30ec34afc9bf475546d35689b4e18144956bd /Source/cmPropertyDefinition.h
parentc2f0aac146f6b990940240891b959dc1f394e80c (diff)
downloadcmake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.tar.gz
ENH: add ability to get documentaiton of a property from a script
Diffstat (limited to 'Source/cmPropertyDefinition.h')
-rw-r--r--Source/cmPropertyDefinition.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmPropertyDefinition.h b/Source/cmPropertyDefinition.h
index a299cb3da3..b2b42de2f6 100644
--- a/Source/cmPropertyDefinition.h
+++ b/Source/cmPropertyDefinition.h
@@ -46,6 +46,12 @@ public:
cmProperty::ScopeType GetScope() const {
return this->Scope; };
+ // get the docs
+ const std::string &GetShortDescription() const {
+ return this->ShortDescription; };
+ const std::string &GetFullDescription() const {
+ return this->FullDescription; };
+
protected:
std::string Name;
std::string ShortDescription;