# HG changeset patch # User Sebastien Jodogne # Date 1380728449 -7200 # Node ID c5ee586a0a08b654f49b1f5d65e06db65159ee7b # Parent a00f626290db2afc7ca8d51e55a57856fcc3ac93 fix diff -r a00f626290db -r c5ee586a0a08 CMakeLists.txt --- a/CMakeLists.txt Wed Oct 02 17:36:14 2013 +0200 +++ b/CMakeLists.txt Wed Oct 02 17:40:49 2013 +0200 @@ -366,20 +366,14 @@ ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen @ONLY) - add_custom_target(doc-client + add_custom_target(doc + ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen + COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} COMMENT "Generating client documentation with Doxygen" VERBATIM ) - add_custom_target(doc-internal - ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Generating internal documentation with Doxygen" VERBATIM - ) - - add_custom_target(doc DEPENDS doc-client doc-internal) - else() message("Doxygen not found. The documentation will not be built.") endif()