diff options
author | Brad King <brad.king@kitware.com> | 2013-09-27 14:58:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-15 14:47:39 (GMT) |
commit | 0d0fec152443fa3f63af8e68e3b2784b6523d85d (patch) | |
tree | e5aa74fc081cb21d21fa4ffc39be281425ecbef2 /Source/CPack | |
parent | 946f0efb7cc15476b54dc57ca5daa785f3f9a937 (diff) | |
download | CMake-0d0fec152443fa3f63af8e68e3b2784b6523d85d.zip CMake-0d0fec152443fa3f63af8e68e3b2784b6523d85d.tar.gz CMake-0d0fec152443fa3f63af8e68e3b2784b6523d85d.tar.bz2 |
Drop CPack module documentation markup extraction
This will be replaced by alternative markup later.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cpack.cxx | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index b188918..7d6a279 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -541,27 +541,6 @@ int main (int argc, char *argv[]) std::vector<cmDocumentationEntry> commands; - std::string docedFile; - std::string docPath; - cmDocumentation::documentedModulesList_t docedModList; - - docedFile = globalMF->GetModulesFile("CPack.cmake"); - if (docedFile.length()!=0) - { - docPath = cmSystemTools::GetFilenamePath(docedFile.c_str()); - doc.getDocumentedModulesListInDir(docPath,"CPack*.cmake",docedModList); - } - - // parse the files for documentation. - cmDocumentation::documentedModulesList_t::iterator docedIt; - for (docedIt = docedModList.begin(); - docedIt!= docedModList.end(); ++docedIt) - { - doc.GetStructuredDocFromFile( - (docedIt->first).c_str(), - commands,&cminst); - } - std::map<std::string,cmDocumentationSection *> propDocs; cminst.GetPropertiesDocumentation(propDocs); doc.SetSections(propDocs); |