summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-09-13 20:31:29 (GMT)
committerBrad King <brad.king@kitware.com>2013-10-15 18:12:49 (GMT)
commit87cc62cab9fcfd2d870d81161643bb1cc1c1e2a2 (patch)
treeea46b08c0b63f9d9faeaa1f6a0cd0a00a361ea6d /Source/cmake.cxx
parent441f2808eca5c1deed7e480ce3043c57c901b33c (diff)
downloadCMake-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/cmake.cxx')
-rw-r--r--Source/cmake.cxx39
1 files changed, 0 insertions, 39 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index f45f56f..1daf8b5 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1995,45 +1995,6 @@ void cmake::UpdateProgress(const char *msg, float prog)
}
}
-void cmake::GetCommandDocumentation(std::vector<cmDocumentationEntry>& v,
- bool withCurrentCommands,
- bool withCompatCommands) const
-{
- for(RegisteredCommandsMap::const_iterator j = this->Commands.begin();
- j != this->Commands.end(); ++j)
- {
- if ((( withCompatCommands == false) && ( (*j).second->IsDiscouraged()))
- || ((withCurrentCommands == false) && (!(*j).second->IsDiscouraged()))
- || (!((*j).second->ShouldAppearInDocumentation()))
- )
- {
- continue;
- }
-
- cmDocumentationEntry e((*j).second->GetName(),
- (*j).second->GetTerseDocumentation(),
- (*j).second->GetFullDocumentation());
- v.push_back(e);
- }
-}
-
-void cmake::GetPolicyDocumentation(std::vector<cmDocumentationEntry>& v)
-{
- this->Policies->GetDocumentation(v);
-}
-
-void cmake::GetPropertiesDocumentation(std::map<std::string,
- cmDocumentationSection *>& v)
-{
- // loop over the properties and put them into the doc structure
- std::map<cmProperty::ScopeType, cmPropertyDefinitionMap>::iterator i;
- i = this->PropertyDefinitions.begin();
- for (;i != this->PropertyDefinitions.end(); ++i)
- {
- i->second.GetPropertiesDocumentation(v);
- }
-}
-
void cmake::GetGeneratorDocumentation(std::vector<cmDocumentationEntry>& v)
{
for(RegisteredGeneratorsVector::const_iterator i =