summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.h
diff options
context:
space:
mode:
authorEric NOULARD <eric.noulard@gmail.com>2012-02-18 21:07:39 (GMT)
committerEric NOULARD <eric.noulard@gmail.com>2012-02-18 21:07:39 (GMT)
commita6bce55aefd332f148a2753d5be0ec4383534473 (patch)
tree6f1af3b2fdb4778edf82859cf0888f637c1e9a40 /Source/cmDocumentation.h
parentbfbb57508603ab6c7007d75718b21868b690e151 (diff)
downloadCMake-a6bce55aefd332f148a2753d5be0ec4383534473.zip
CMake-a6bce55aefd332f148a2753d5be0ec4383534473.tar.gz
CMake-a6bce55aefd332f148a2753d5be0ec4383534473.tar.bz2
Dynamically add documentation section specified in documented script.
Modify CPackDeb and CPackRPM as an example
Diffstat (limited to 'Source/cmDocumentation.h')
-rw-r--r--Source/cmDocumentation.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index 00dba1a..11bef16 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -147,6 +147,9 @@ public:
/** Add the CPack standard documentation section(s) */
void addCPackStandardDocSections();
+ /** Add automatic variables sections */
+ void addAutomaticVariableSections(const std::string& section);
+
/**
* Retrieve the list of documented module located in
* path which match the globing expression globExpr.
@@ -185,8 +188,7 @@ public:
*/
int GetStructuredDocFromFile(const char* fname,
std::vector<cmDocumentationEntry>& commands,
- cmake* cm,
- const char *docSection);
+ cmake* cm);
private:
void SetForm(Form f);
void SetDocName(const char* docname);