summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 3a4a506..34b83b1 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -57,6 +57,8 @@ public:
/** Print help of the given type. */
bool PrintDocumentation(Type ht, std::ostream& os, const char* docname=0);
+
+ void SetShowGenerators(bool showGen) { this->ShowGenerators = showGen; }
/** Set the program name for standard document generation. */
void SetName(const char* name);
@@ -159,6 +161,8 @@ private:
const char* GetDefaultDocName(Type ht) const;
bool IsOption(const char* arg) const;
+ bool ShowGenerators;
+
std::string NameString;
std::string DocName;
std::map<std::string,cmDocumentationSection*> AllSections;