summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-06-21 21:19:55 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-06-21 21:19:55 (GMT)
commit20e133e38aa2e0556da61b1441fbd4bcacc925cc (patch)
tree6003e19dddec1d820544f48b6bfa708c519ff6ab /Source/cmDocumentation.h
parent38df155dd394efd45dff887028b2e1a4c0969b03 (diff)
downloadCMake-20e133e38aa2e0556da61b1441fbd4bcacc925cc.zip
CMake-20e133e38aa2e0556da61b1441fbd4bcacc925cc.tar.gz
CMake-20e133e38aa2e0556da61b1441fbd4bcacc925cc.tar.bz2
man documentation: detect man section from the given filename
E.g. if you say cmake --help-custom-modules mymodules.7 cmake will now put section 7 into the generated manpage. Alex
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 3fcea8f..e180f60 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -133,7 +133,8 @@ public:
/** Set CMAKE_MODULE_PATH so we can find additional cmake modules */
void SetCMakeModulePath(const char* path) { this->CMakeModulePath = path;}
- static Form GetFormFromFilename(const std::string& filename);
+ static Form GetFormFromFilename(const std::string& filename,
+ int* ManSection);
/** Add common (to all tools) documentation section(s) */
void addCommonStandardDocSections();