summaryrefslogtreecommitdiffstats
path: root/Source/cmake.h
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-22 12:44:51 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-22 12:44:51 (GMT)
commit1d9889c5d34d83b269697c0b09e840bf83066e6f (patch)
treee1aed919ac0b90dc4a25ac02a8d2cbee69a79977 /Source/cmake.h
parent1383368628411f3834e2e29e81be306db74c610f (diff)
downloadCMake-1d9889c5d34d83b269697c0b09e840bf83066e6f.zip
CMake-1d9889c5d34d83b269697c0b09e840bf83066e6f.tar.gz
CMake-1d9889c5d34d83b269697c0b09e840bf83066e6f.tar.bz2
ENH: put compatibility commands in extra section and prepare for creating
separate man pages for properties, modules, commands and compatibility commands Alex
Diffstat (limited to 'Source/cmake.h')
-rw-r--r--Source/cmake.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/cmake.h b/Source/cmake.h
index 6b1f756..1abb1e8 100644
--- a/Source/cmake.h
+++ b/Source/cmake.h
@@ -239,7 +239,16 @@ class cmake
///! Get the variable watch object
cmVariableWatch* GetVariableWatch() { return this->VariableWatch; }
- void GetCommandDocumentation(std::vector<cmDocumentationEntry>&) const;
+ /** Get the documentation entries for the supported commands.
+ * If withCurrentCommands is true, the documentation for the
+ * recommended set of commands is included.
+ * If withCompatCommands is true, the documentation for discouraged
+ * (compatibility) commands is included.
+ * You probably don't want to set both to false.
+ */
+ void GetCommandDocumentation(std::vector<cmDocumentationEntry>& entries,
+ bool withCurrentCommands = true,
+ bool withCompatCommands = true) const;
void GetPropertiesDocumentation(std::vector<cmDocumentationEntry>&);
void GetGeneratorDocumentation(std::vector<cmDocumentationEntry>&);