summaryrefslogtreecommitdiffstats
path: root/Source/cmDumpDocumentation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-08 03:20:30 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-08 03:20:30 (GMT)
commited273acfa7884c0b9dddf480deec9a263f536c85 (patch)
tree2b460ff524f41e032d165ef75e92aaeb6323a9f1 /Source/cmDumpDocumentation.cxx
parenteb7b7dc1046dbc9d60e12a16d2ae3242328f85c0 (diff)
downloadCMake-ed273acfa7884c0b9dddf480deec9a263f536c85.zip
CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.gz
CMake-ed273acfa7884c0b9dddf480deec9a263f536c85.tar.bz2
ENH: Improved name of cmake version variables. They are now CMake_VERSION (major.minor) and CMake_VERSION_FULL (major.minor.patch).
Diffstat (limited to 'Source/cmDumpDocumentation.cxx')
-rw-r--r--Source/cmDumpDocumentation.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmDumpDocumentation.cxx b/Source/cmDumpDocumentation.cxx
index edee6d6..0b474c4 100644
--- a/Source/cmDumpDocumentation.cxx
+++ b/Source/cmDumpDocumentation.cxx
@@ -66,7 +66,7 @@ int DumpHTML(const char* outname)
cmDocumentation doc;
std::vector<cmDocumentationEntry> commands;
cmi.GetCommandDocumentation(commands);
- doc.AddSection("Documentation for Commands of CMake " CMake_VERSION_STRING,
+ doc.AddSection("Documentation for Commands of CMake " CMake_VERSION_FULL,
&commands[0]);
doc.Print(cmDocumentation::HTMLForm, fout);
@@ -78,12 +78,15 @@ int DumpForCoverage()
cmake cmi;
cmDocumentation doc;
std::vector<cmDocumentationEntry> commands;
+ std::vector<cmDocumentationEntry> generators;
cmi.GetCommandDocumentation(commands);
+ cmi.GetGeneratorDocumentation(generators);
doc.SetNameSection(cmDocumentationName);
doc.SetUsageSection(cmDocumentationUsage);
doc.SetDescriptionSection(cmDocumentationDescription);
doc.SetOptionsSection(cmDocumentationOptions);
doc.SetCommandsSection(&commands[0]);
+ doc.SetGeneratorsSection(&generators[0]);
doc.PrintDocumentation(cmDocumentation::Usage, std::cout);
doc.PrintDocumentation(cmDocumentation::Full, std::cout);
doc.PrintDocumentation(cmDocumentation::HTML, std::cout);