Fix for bug# 5373, include CMake verison in generated docs.

This commit is contained in:
Bill Hoffman 2009-09-14 20:54:22 -04:00
parent 72f32c2b98
commit 899f11f919
1 changed files with 4 additions and 2 deletions

View File

@ -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)
{