Mercurial > hg > orthanc
comparison CMakeLists.txt @ 1156:8c9574576f42
install plugin sdk
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Sep 2014 15:53:57 +0200 |
parents | 01c907f35d09 |
children | badc14fee61f 2ee4e8f21c74 |
comparison
equal
deleted
inserted
replaced
1155:63924bc389bf | 1156:8c9574576f42 |
---|---|
474 RUNTIME DESTINATION lib # Destination for Windows | 474 RUNTIME DESTINATION lib # Destination for Windows |
475 LIBRARY DESTINATION lib # Destination for Linux | 475 LIBRARY DESTINATION lib # Destination for Linux |
476 ) | 476 ) |
477 | 477 |
478 install( | 478 install( |
479 FILES ${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h | 479 FILES |
480 ${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h | |
481 ${ORTHANC_ROOT}/Plugins/OrthancCPlugin/OrthancCPlugin.h | |
480 DESTINATION include/orthanc | 482 DESTINATION include/orthanc |
481 ) | 483 ) |
482 endif() | 484 endif() |
483 | 485 |
484 | 486 |
500 ${CMAKE_CURRENT_BINARY_DIR}/OrthancPlugin.doxygen | 502 ${CMAKE_CURRENT_BINARY_DIR}/OrthancPlugin.doxygen |
501 @ONLY) | 503 @ONLY) |
502 | 504 |
503 add_custom_target(doc | 505 add_custom_target(doc |
504 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen | 506 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen |
505 COMMAND | 507 COMMENT "Generating internal documentation with Doxygen" VERBATIM |
506 ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancPlugin.doxygen | 508 ) |
509 | |
510 add_custom_command(TARGET Orthanc | |
511 POST_BUILD | |
512 COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancPlugin.doxygen | |
507 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} | 513 WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} |
508 COMMENT "Generating internal documentation with Doxygen" VERBATIM | 514 COMMENT "Generating plugin documentation with Doxygen" VERBATIM |
515 ) | |
516 | |
517 install( | |
518 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/OrthancPluginDocumentation/doc/ | |
519 DESTINATION share/doc/orthanc/OrthancPlugin | |
509 ) | 520 ) |
510 | 521 |
511 if (BUILD_CLIENT_LIBRARY) | 522 if (BUILD_CLIENT_LIBRARY) |
512 configure_file( | 523 configure_file( |
513 ${CMAKE_SOURCE_DIR}/Resources/OrthancClient.doxygen | 524 ${CMAKE_SOURCE_DIR}/Resources/OrthancClient.doxygen |