Fix for bug# 5373, include CMake verison in generated docs.
This commit is contained in:
parent
72f32c2b98
commit
899f11f919
|
@ -16,7 +16,7 @@
|
||||||
=========================================================================*/
|
=========================================================================*/
|
||||||
#include "cmDocumentationFormatterHTML.h"
|
#include "cmDocumentationFormatterHTML.h"
|
||||||
#include "cmDocumentationSection.h"
|
#include "cmDocumentationSection.h"
|
||||||
|
#include "cmVersion.h"
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
static bool cmDocumentationIsHyperlinkChar(char c)
|
static bool cmDocumentationIsHyperlinkChar(char c)
|
||||||
{
|
{
|
||||||
|
@ -258,7 +258,9 @@ void cmDocumentationFormatterHTML
|
||||||
return;
|
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";
|
os << "<ul>\n";
|
||||||
for(unsigned int i=0; i < sections.size(); ++i)
|
for(unsigned int i=0; i < sections.size(); ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue