forked from KolibriOS/kolibrios
927f6fa6b2
git-svn-id: svn://kolibrios.org@4758 a494cfbc-eb01-0410-851d-a64ba20cac60
16 lines
412 B
CMake
16 lines
412 B
CMake
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)
|
|
|