COMP: fix some warnings and add some doc strings back in

This commit is contained in:
Ken Martin 2007-10-22 16:41:15 -04:00
parent 44cce51a1a
commit b6f1cb4edf
2 changed files with 6 additions and 1 deletions

View File

@ -235,6 +235,11 @@ cmDocumentation::cmDocumentation()
sec = new cmDocumentationSection("Generators","GENERATORS");
sec->Append(cmDocumentationGeneratorsHeader);
this->AllSections["Generators"] = sec;
sec = new cmDocumentationSection("Compatibility Commands",
"COMPATIBILITY COMMANDS");
sec->Append(cmCompatCommandsDocumentationDescription);
this->AllSections["Compatibility Commands"] = sec;
}
//----------------------------------------------------------------------------

View File

@ -315,7 +315,7 @@ int do_cmake(int ac, char** av)
doc.AppendSection("Generators",generators);
doc.PrependSection("Options",cmDocumentationOptions);
doc.SetSection("Commands",commands);
doc.SetSection("Compatibility Commands",compatCommands);
doc.AppendSection("Compatibility Commands",compatCommands);
doc.SetSections(propDocs);
doc.SetSeeAlsoList(cmDocumentationSeeAlso);