comparison CMakeLists.txt @ 592:c5ee586a0a08

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Oct 2013 17:40:49 +0200
parents a00f626290db
children ee61f769a25d
comparison
equal deleted inserted replaced
591:a00f626290db 592:c5ee586a0a08
364 configure_file( 364 configure_file(
365 ${CMAKE_SOURCE_DIR}/Resources/OrthancClient.doxygen 365 ${CMAKE_SOURCE_DIR}/Resources/OrthancClient.doxygen
366 ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen 366 ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen
367 @ONLY) 367 @ONLY)
368 368
369 add_custom_target(doc-client 369 add_custom_target(doc
370 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen
371 COMMAND
370 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen 372 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen
371 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} 373 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
372 COMMENT "Generating client documentation with Doxygen" VERBATIM 374 COMMENT "Generating client documentation with Doxygen" VERBATIM
373 ) 375 )
374
375 add_custom_target(doc-internal
376 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen
377 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
378 COMMENT "Generating internal documentation with Doxygen" VERBATIM
379 )
380
381 add_custom_target(doc DEPENDS doc-client doc-internal)
382 376
383 else() 377 else()
384 message("Doxygen not found. The documentation will not be built.") 378 message("Doxygen not found. The documentation will not be built.")
385 endif() 379 endif()
386 380