diff options
author | Brad King <brad.king@kitware.com> | 2003-08-06 18:49:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-08-06 18:49:52 (GMT) |
commit | b78888fe3889c2477b0d0ce93d6ab14bcdd25000 (patch) | |
tree | def2a368702638f0dd42e65b15c3aa3ceb520441 /Source/cmDocumentation.h | |
parent | f86ffd72cae4d516e726586ee0a7f68f73f91bac (diff) | |
download | CMake-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.h | 6 |
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; |