ENH: Add CMake/doxygen output

This commit is contained in:
Mathieu Malaterre
2007-09-06 15:10:15 +00:00
parent be5db9489e
commit cf95a80be6
3 changed files with 20 additions and 0 deletions

12
doc/CMakeLists.txt Normal file
View File

@@ -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}
)