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/ctest.cxx | |
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/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index ece68f5..9798554 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -36,16 +36,6 @@ static const char * cmDocumentationUsage[][3] = }; //---------------------------------------------------------------------------- -static const char * cmDocumentationDescription[][3] = -{ - {0, - "The \"ctest\" executable is the CMake test driver program. " - "CMake-generated build trees created for projects that use " - "the ENABLE_TESTING and ADD_TEST commands have testing support. " - "This program will run the tests and report results.", 0}, - {0,0,0} -}; - //---------------------------------------------------------------------------- static const char * cmDocumentationOptions[][3] = { @@ -261,14 +251,6 @@ static const char * cmDocumentationOptions[][3] = {0,0,0} }; -//---------------------------------------------------------------------------- -static const char * cmDocumentationSeeAlso[][3] = -{ - {0, "cmake", 0}, - {0, "ccmake", 0}, - {0, 0, 0} -}; - // this is a test driver program for cmCTest. int main (int argc, char *argv[]) { @@ -309,20 +291,15 @@ int main (int argc, char *argv[]) if(doc.CheckOptions(argc, argv)) { // Construct and print requested documentation. - std::vector<cmDocumentationEntry> commands; cmCTestScriptHandler* ch = static_cast<cmCTestScriptHandler*>(inst.GetHandler("script")); ch->CreateCMake(); - ch->GetCommandDocumentation(commands); doc.SetShowGenerators(false); doc.SetName("ctest"); doc.SetSection("Name",cmDocumentationName); doc.SetSection("Usage",cmDocumentationUsage); - doc.SetSection("Description",cmDocumentationDescription); doc.PrependSection("Options",cmDocumentationOptions); - doc.SetSection("Commands",commands); - doc.SetSeeAlsoList(cmDocumentationSeeAlso); #ifdef cout # undef cout #endif |