summaryrefslogtreecommitdiffstats
path: root/Source/cmDumpDocumentation.cxx
diff options
context:
space:
mode:
authorWill Schroeder <will.schroeder@kitware.com>2001-01-12 17:43:00 (GMT)
committerWill Schroeder <will.schroeder@kitware.com>2001-01-12 17:43:00 (GMT)
commitb3480795c4fb890e8999fba580bb55a69fef1efb (patch)
tree5073ed51aa586fcd74333a603a73abb1ccb60941 /Source/cmDumpDocumentation.cxx
parentca9099b551ad615a7368c0f71a7aa8fc3bc0c307 (diff)
downloadCMake-b3480795c4fb890e8999fba580bb55a69fef1efb.zip
CMake-b3480795c4fb890e8999fba580bb55a69fef1efb.tar.gz
CMake-b3480795c4fb890e8999fba580bb55a69fef1efb.tar.bz2
ENH:Simple program dumps out internal documentation for CMake
Diffstat (limited to 'Source/cmDumpDocumentation.cxx')
-rw-r--r--Source/cmDumpDocumentation.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmDumpDocumentation.cxx b/Source/cmDumpDocumentation.cxx
new file mode 100644
index 0000000..7034e03
--- /dev/null
+++ b/Source/cmDumpDocumentation.cxx
@@ -0,0 +1,12 @@
+// Program extracts documentation describing rules from
+// the CMake system.
+//
+#include "cmMakefile.h"
+
+int main()
+{
+ cmMakefile makefile;
+ makefile.DumpDocumentationToFile("cmake.txt");
+
+ return 0;
+}