diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-10-24 18:43:10 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-10-24 18:43:10 (GMT) |
commit | f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a (patch) | |
tree | 60e30ec34afc9bf475546d35689b4e18144956bd /Source/cmPropertyDefinition.h | |
parent | c2f0aac146f6b990940240891b959dc1f394e80c (diff) | |
download | CMake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.zip CMake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.tar.gz CMake-f72d666a7bd7a1b58db5f08b5ee9124f6768fa2a.tar.bz2 |
ENH: add ability to get documentaiton of a property from a script
Diffstat (limited to 'Source/cmPropertyDefinition.h')
-rw-r--r-- | Source/cmPropertyDefinition.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmPropertyDefinition.h b/Source/cmPropertyDefinition.h index a299cb3..b2b42de 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; |