summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2007-10-22 20:41:15 (GMT)
committerKen Martin <ken.martin@kitware.com>2007-10-22 20:41:15 (GMT)
commitb6f1cb4edf041135e8b1cd0f558c4865ccad0a72 (patch)
tree117ec4a66ff2c9420cbacd74f592105edde0780f
parent44cce51a1a36973344a0bc1bb99f39410fd678e6 (diff)
downloadCMake-b6f1cb4edf041135e8b1cd0f558c4865ccad0a72.zip
CMake-b6f1cb4edf041135e8b1cd0f558c4865ccad0a72.tar.gz
CMake-b6f1cb4edf041135e8b1cd0f558c4865ccad0a72.tar.bz2
COMP: fix some warnings and add some doc strings back in
-rw-r--r--Source/cmDocumentation.cxx5
-rw-r--r--Source/cmakemain.cxx2
2 files changed, 6 insertions, 1 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 1565c59..158e9c1 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -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;
}
//----------------------------------------------------------------------------
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index df5f37b..e676430 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -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);