summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMathieu Malaterre <mathieu.malaterre@gmail.com>2007-09-06 15:10:15 +0000
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2007-09-06 15:10:15 +0000
commitcf95a80be6854be9f0455bb1275243dba091fd7a (patch)
tree603d175cb989b927de4607e48817dd7dd14945f0 /doc
parentbe5db9489e410523d93bdb41a60a08cac6a73938 (diff)
ENH: Add CMake/doxygen output
Diffstat (limited to 'doc')
-rw-r--r--doc/CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt
new file mode 100644
index 00000000..01eeeb79
--- /dev/null
+++ b/doc/CMakeLists.txt
@@ -0,0 +1,12 @@
+FIND_PACKAGE(Doxygen REQUIRED)
+
+# The Doxyfile.dox is poorly defined and produce output
+# in the source dir
+ADD_CUSTOM_TARGET(doxygen
+# By default doxygen target is added to the 'all' target. Project is small
+# thus running doxygen is not too time consuming
+ ALL
+ ${DOXYGEN}
+ ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.dox
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
+)