[cmake-commits] king committed ccmake.cxx 1.32 1.33

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Oct 4 19:21:22 EDT 2006


Update of /cvsroot/CMake/CMake/Source/CursesDialog
In directory public:/mounts/ram/cvs-serv32605/Source/CursesDialog

Modified Files:
	ccmake.cxx 
Log Message:
BUG: The --help option should list generators.  This addresses bug #2494.


Index: ccmake.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/CursesDialog/ccmake.cxx,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -d -r1.32 -r1.33
--- ccmake.cxx	27 Oct 2004 14:45:45 -0000	1.32
+++ ccmake.cxx	4 Oct 2006 23:21:20 -0000	1.33
@@ -110,11 +110,14 @@
     {
     cmake hcm;
     std::vector<cmDocumentationEntry> commands;
+    std::vector<cmDocumentationEntry> generators;
     hcm.GetCommandDocumentation(commands);
+    hcm.GetGeneratorDocumentation(generators);
     doc.SetName("ccmake");
     doc.SetNameSection(cmDocumentationName);
     doc.SetUsageSection(cmDocumentationUsage);
     doc.SetDescriptionSection(cmDocumentationDescription);
+    doc.SetGeneratorsSection(&generators[0]);
     doc.SetOptionsSection(cmDocumentationOptions);
     doc.SetCommandsSection(&commands[0]);
     doc.SetSeeAlsoList(cmDocumentationSeeAlso);



More information about the Cmake-commits mailing list