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