summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2011-11-13 21:44:53 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2012-01-22 10:42:49 (GMT)
commitc6a016944211b737c45385423fc7df10462e34ab (patch)
tree3971d56823c84108bbb663360034bba8fd28225d /Source/cmakemain.cxx
parenta668c9f059cebad61138511f7e91fbe49a414666 (diff)
downloadCMake-c6a016944211b737c45385423fc7df10462e34ab.zip
CMake-c6a016944211b737c45385423fc7df10462e34ab.tar.gz
CMake-c6a016944211b737c45385423fc7df10462e34ab.tar.bz2
CPack begin the implementation of --help-command* and --help-variables*
This modifications set tries to keep the unified doc for cmake/ctest/cpack while introducing tool specific documentation separated. Some documentation sections for CMake do not fit well to CPack.
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 436236d..c3de8ca 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -355,6 +355,7 @@ int do_cmake(int ac, char** av)
#ifdef CMAKE_BUILD_WITH_CMAKE
cmDocumentation doc;
+ doc.addCMakeStandardDocSections();
if(doc.CheckOptions(ac, av, "-E") || nocwd)
{
// Construct and print requested documentation.