diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-15 00:54:22 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-09-15 00:54:22 (GMT) |
commit | 899f11f9198f2fe1ad2109701f01b92817734f34 (patch) | |
tree | 8dfdd44138930128a1ef1fbb4e8abdc37633be97 /Source/cmDocumentationFormatterHTML.cxx | |
parent | 72f32c2b98b640f2415d7f651e8be2bec0b67297 (diff) | |
download | CMake-899f11f9198f2fe1ad2109701f01b92817734f34.zip CMake-899f11f9198f2fe1ad2109701f01b92817734f34.tar.gz CMake-899f11f9198f2fe1ad2109701f01b92817734f34.tar.bz2 |
Fix for bug# 5373, include CMake verison in generated docs.
Diffstat (limited to 'Source/cmDocumentationFormatterHTML.cxx')
-rw-r--r-- | Source/cmDocumentationFormatterHTML.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmDocumentationFormatterHTML.cxx b/Source/cmDocumentationFormatterHTML.cxx index 09390b4..508b8b6 100644 --- a/Source/cmDocumentationFormatterHTML.cxx +++ b/Source/cmDocumentationFormatterHTML.cxx @@ -16,7 +16,7 @@ =========================================================================*/ #include "cmDocumentationFormatterHTML.h" #include "cmDocumentationSection.h" - +#include "cmVersion.h" //---------------------------------------------------------------------------- static bool cmDocumentationIsHyperlinkChar(char c) { @@ -258,7 +258,9 @@ void cmDocumentationFormatterHTML return; } - os << "<h2><a name=\"section_Index\"/>Master Index</h2>\n"; + os << "<h2><a name=\"section_Index\"/>Master Index " + << "CMake " << cmVersion::GetCMakeVersion() + << "</h2>\n"; os << "<ul>\n"; for(unsigned int i=0; i < sections.size(); ++i) { |