ENH: Add CMake/doxygen output
[openjpeg.git] / doc / CMakeLists.txt
1 FIND_PACKAGE(Doxygen REQUIRED)
2
3 # The Doxyfile.dox is poorly defined and produce output
4 # in the source dir
5 ADD_CUSTOM_TARGET(doxygen
6 # By default doxygen target is added to the 'all' target. Project is small
7 # thus running doxygen is not too time consuming
8   ALL
9   ${DOXYGEN}
10   ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.dox
11   WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
12 )