Mercurial > hg > orthanc
comparison CMakeLists.txt @ 591:a00f626290db
better api
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Oct 2013 17:36:14 +0200 |
parents | a042693cc6a9 |
children | c5ee586a0a08 |
comparison
equal
deleted
inserted
replaced
590:3237eea24487 | 591:a00f626290db |
---|---|
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 | 369 add_custom_target(doc-client |
370 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen | |
371 COMMAND | |
372 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen | 370 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancClient.doxygen |
373 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | 371 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
374 COMMENT "Generating API documentation with Doxygen" VERBATIM | 372 COMMENT "Generating client documentation with Doxygen" VERBATIM |
375 ) | 373 ) |
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) | |
376 | 382 |
377 else() | 383 else() |
378 message("Doxygen not found. The documentation will not be built.") | 384 message("Doxygen not found. The documentation will not be built.") |
379 endif() | 385 endif() |
380 | 386 |