diff options
author | Brad King <brad.king@kitware.com> | 2013-09-13 20:31:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-15 18:12:49 (GMT) |
commit | 87cc62cab9fcfd2d870d81161643bb1cc1c1e2a2 (patch) | |
tree | ea46b08c0b63f9d9faeaa1f6a0cd0a00a361ea6d /Source/CursesDialog | |
parent | 441f2808eca5c1deed7e480ce3043c57c901b33c (diff) | |
download | CMake-87cc62cab9fcfd2d870d81161643bb1cc1c1e2a2.zip CMake-87cc62cab9fcfd2d870d81161643bb1cc1c1e2a2.tar.gz CMake-87cc62cab9fcfd2d870d81161643bb1cc1c1e2a2.tar.bz2 |
Drop "full" documentation output types
We will no longer support full documentation generation from executables
and will instead generate documentation with other tools. Disable (with
a warning left behind) the command-line options:
--copyright
--help-compatcommands
--help-full
--help-html
--help-man
Drop supporting code. Drop manual sections generation from executables.
Remove internal documentation construction APIs. Drop unused sections
See Also, Author, Copyright, Compat Commands, Custom Modules.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 623d7d3..37d0667 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -40,32 +40,12 @@ static const char * cmDocumentationUsage[][3] = }; //---------------------------------------------------------------------------- -static const char * cmDocumentationDescription[][3] = -{ - {0, - "The \"ccmake\" executable is the CMake curses interface. Project " - "configuration settings may be specified interactively through " - "this GUI. Brief instructions are provided at the bottom of the " - "terminal when the program is running.", 0}, - CMAKE_STANDARD_INTRODUCTION, - {0,0,0} -}; - -//---------------------------------------------------------------------------- static const char * cmDocumentationOptions[][3] = { CMAKE_STANDARD_OPTIONS_TABLE, {0,0,0} }; -//---------------------------------------------------------------------------- -static const char * cmDocumentationSeeAlso[][3] = -{ - {0, "cmake", 0}, - {0, "ctest", 0}, - {0, 0, 0} -}; - cmCursesForm* cmCursesForm::CurrentForm=0; extern "C" @@ -106,21 +86,13 @@ int main(int argc, char** argv) if(doc.CheckOptions(argc, argv)) { cmake hcm; - std::vector<cmDocumentationEntry> commands; - std::vector<cmDocumentationEntry> compatCommands; std::vector<cmDocumentationEntry> generators; - hcm.GetCommandDocumentation(commands, true, false); - hcm.GetCommandDocumentation(compatCommands, false, true); hcm.GetGeneratorDocumentation(generators); doc.SetName("ccmake"); doc.SetSection("Name",cmDocumentationName); doc.SetSection("Usage",cmDocumentationUsage); - doc.SetSection("Description",cmDocumentationDescription); doc.SetSection("Generators",generators); doc.PrependSection("Options",cmDocumentationOptions); - doc.SetSection("Command",commands); - doc.SetSection("Compatibility Commands",compatCommands); - doc.SetSeeAlsoList(cmDocumentationSeeAlso); return doc.PrintRequestedDocumentation(std::cout)? 0:1; } |