1 /*=========================================================================
3 Program: CMake - Cross-Platform Makefile Generator
4 Module: $RCSfile: cmPropertyDefinition.cxx,v $
6 Date: $Date: 2007-10-22 16:48:39 $
7 Version: $Revision: 1.9 $
9 Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10 See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
16 =========================================================================*/
17 #include "cmPropertyDefinition.h"
18 #include "cmSystemTools.h"
20 cmDocumentationEntry
cmPropertyDefinition::GetDocumentation() const
22 cmDocumentationEntry e
;
24 e
.Brief
= this->ShortDescription
;
25 e
.Full
= this->FullDescription
;
29 void cmPropertyDefinition
30 ::DefineProperty(const char *name
, cmProperty::ScopeType scope
,
31 const char *shortDescription
,
32 const char *fullDescription
,
38 this->Chained
= chain
;
41 this->ShortDescription
= shortDescription
;
45 this->FullDescription
= fullDescription
;
49 this->DocumentationSection
= sec
;