summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-08-06 18:49:52 (GMT)
committerBrad King <brad.king@kitware.com>2003-08-06 18:49:52 (GMT)
commitb78888fe3889c2477b0d0ce93d6ab14bcdd25000 (patch)
treedef2a368702638f0dd42e65b15c3aa3ceb520441 /Source/cmDocumentation.h
parentf86ffd72cae4d516e726586ee0a7f68f73f91bac (diff)
downloadCMake-b78888fe3889c2477b0d0ce93d6ab14bcdd25000.zip
CMake-b78888fe3889c2477b0d0ce93d6ab14bcdd25000.tar.gz
CMake-b78888fe3889c2477b0d0ce93d6ab14bcdd25000.tar.bz2
ENH: Added configuration of name of executable in man page header and version banner.
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 8aaf4dc..3a0ac18 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -50,6 +50,10 @@ public:
void PrintDocumentation(Type ht, std::ostream& os);
/** Set the program name for standard document generation. */
+ void SetName(const char* name);
+
+ /** Set the program name section for standard document
+ * generation. */
void SetNameSection(const cmDocumentationEntry*);
/** Set the program usage for standard document generation. */
@@ -134,7 +138,9 @@ private:
const cmDocumentationEntry* section,
const cmDocumentationEntry* footer,
std::vector<cmDocumentationEntry>&);
+ const char* GetNameString();
+ std::string NameString;
std::vector<cmDocumentationEntry> NameSection;
std::vector<cmDocumentationEntry> UsageSection;
std::vector<cmDocumentationEntry> DescriptionSection;