diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-22 19:44:54 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2004-10-22 19:44:54 (GMT) |
commit | fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4 (patch) | |
tree | 38c00cbcf652d9319baf841a1ba3f8fd166b968d /Source/cmDumpDocumentation.cxx | |
parent | f4a04a96eb57fc01b612b6af11b7e7ae66fc0cc4 (diff) | |
download | CMake-fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4.zip CMake-fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4.tar.gz CMake-fc70a2bb2ae2c905c6fa9b6b8e6a0caa99ca3ee4.tar.bz2 |
ENH: Add development version support in CMake
Diffstat (limited to 'Source/cmDumpDocumentation.cxx')
-rw-r--r-- | Source/cmDumpDocumentation.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Source/cmDumpDocumentation.cxx b/Source/cmDumpDocumentation.cxx index 9bfc9fc..65447dd 100644 --- a/Source/cmDumpDocumentation.cxx +++ b/Source/cmDumpDocumentation.cxx @@ -20,6 +20,7 @@ #include "cmake.h" #include "cmDocumentation.h" +#include "cmVersion.h" //---------------------------------------------------------------------------- static const cmDocumentationEntry cmDocumentationName[] = @@ -69,8 +70,10 @@ int DumpHTML(const char* outname) cmDocumentation doc; std::vector<cmDocumentationEntry> commands; cmi.GetCommandDocumentation(commands); - doc.AddSection("Documentation for Commands of CMake " CMake_VERSION_FULL, - &commands[0]); + cmOStringStream str; + str << "Documentation for Commands of CMake " + << cmVersion::GetCMakeVersion(); + doc.AddSection(str.str().c_str(), &commands[0]); doc.Print(cmDocumentation::HTMLForm, fout); return 0; |