summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-11 19:53:58 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-11 19:53:58 (GMT)
commit9f16292b6a3a5959b2e7ddb11e54029b02701965 (patch)
tree7603d0c38da2df2465986f66c9bbf4971a7e4aa2 /Source/cmDocumentation.h
parentab10b43ec5405452e149c70c1685066f205941e8 (diff)
downloadCMake-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/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h27
1 files changed, 18 insertions, 9 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index abfd258..bac58b9 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -18,6 +18,7 @@
#define _cmDocumentation_h
#include "cmStandardIncludes.h"
+#include "cmProperty.h"
/** This is just a helper class to make it build with MSVC 6.0.
Actually the enums and internal classes could directly go into
@@ -83,22 +84,23 @@ public:
/** Set the program options for standard document generation. */
void SetOptionsSection(const cmDocumentationEntry*);
-
+
/** Set the listfile commands for standard document generation. */
void SetCommandsSection(const cmDocumentationEntry*);
-
+
/** Set the listfile compat. commands for standard document generation. */
void SetCompatCommandsSection(const cmDocumentationEntry*);
-
- /** Set the properties for standard document generation. */
- void SetPropertiesSection(const cmDocumentationEntry*);
+
+ /** Set the global properties for standard document generation. */
+ void SetPropertiesSection(const cmDocumentationEntry*,
+ cmProperty::ScopeType type);
/** Set the generator descriptions for standard document generation. */
void SetGeneratorsSection(const cmDocumentationEntry*);
-
+
/** Set the see-also list of references to the other tools. */
void SetSeeAlsoList(const cmDocumentationEntry*);
-
+
// Low-level interface for custom documents:
/** Internal class representing a section of the documentation.
* Cares e.g. for the different section titles in the different
@@ -244,12 +246,19 @@ private:
cmSection CommandsSection;
cmSection CompatCommandsSection;
cmSection ModulesSection;
- cmSection PropertiesSection;
cmSection GeneratorsSection;
cmSection SeeAlsoSection;
cmSection CopyrightSection;
cmSection AuthorSection;
-
+ cmSection GlobalPropertiesSection;
+ cmSection DirectoryPropertiesSection;
+ cmSection TargetPropertiesSection;
+ cmSection TestPropertiesSection;
+ cmSection SourceFilePropertiesSection;
+ cmSection VariablePropertiesSection;
+ cmSection CachedVariablePropertiesSection;
+ std::map<cmProperty::ScopeType, cmSection*> PropertySections;
+
std::string SeeAlsoString;
std::string CMakeRoot;
std::vector< char* > ModuleStrings;