diff --git a/CMakeLists.txt b/CMakeLists.txt index fc6eb8ab02855ba60daff0b7dc07473dd27153e7..a96cb1b4e3db575e0b33102409a33a372d1121a5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,25 +71,6 @@ ELSE() SET(CMAKE_SWIG_OUTDIR "${EXECUTABLE_OUTPUT_PATH}") ENDIF() -# Doxygen (https://vicrucann.github.io/tutorials/quick-cmake-doxygen/) -FIND_PACKAGE(Doxygen) # check if Doxygen is installed -IF(DOXYGEN_FOUND) - # set input and output files - SET(DOXYGEN_IN ${PROJECT_SOURCE_DIR}/Doxyfile.in) - SET(DOXYGEN_OUT ${PROJECT_BINARY_DIR}/Doxyfile) - # request to configure the file - CONFIGURE_FILE(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY) - # note the option ALL which allows to build the docs together with the application - # "make dox" rebuilds the doc - ADD_CUSTOM_TARGET( dox #ALL - COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Generating API documentation with Doxygen" - VERBATIM ) -ELSE() - MESSAGE("Doxygen needs to be installed to generate the doxygen documentation") -ENDIF() - # -- DEFINE (for SWIG to detect definitions) INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}) # to find "amfe_def.h"