aboutsummaryrefslogtreecommitdiff
path: root/tests/openjpeg/doc/CMakeLists.txt
blob: aadbadbae5c33c3eb3e3bb7ecb7f9f3406e540eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FIND_PACKAGE(Doxygen)
#
IF(DOXYGEN_EXECUTABLE)
# 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}
)
ENDIF(DOXYGEN_EXECUTABLE)