2010-10-05 12:33:15 +02:00
|
|
|
FIND_PACKAGE(Doxygen)
|
|
|
|
#
|
|
|
|
IF(DOXYGEN_EXECUTABLE)
|
2007-09-06 17:10:15 +02:00
|
|
|
# The Doxyfile.dox is poorly defined and produce output
|
|
|
|
# in the source dir
|
2011-04-14 12:13:25 +02:00
|
|
|
ADD_CUSTOM_TARGET(doc
|
2007-09-06 17:10:15 +02:00
|
|
|
${DOXYGEN}
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.dox
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
|
|
|
)
|
2010-10-05 12:33:15 +02:00
|
|
|
ENDIF(DOXYGEN_EXECUTABLE)
|
2010-10-22 20:41:17 +02:00
|
|
|
|