# HG changeset patch # User Sebastien Jodogne # Date 1410530037 -7200 # Node ID 8c9574576f422dd37eb9f26dac5bd02d69a9b544 # Parent 63924bc389bfb3c47dd09403769e088d51e265dd install plugin sdk diff -r 63924bc389bf -r 8c9574576f42 CMakeLists.txt --- a/CMakeLists.txt Thu Sep 11 17:51:06 2014 +0200 +++ b/CMakeLists.txt Fri Sep 12 15:53:57 2014 +0200 @@ -476,7 +476,9 @@ ) install( - FILES ${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h + FILES + ${ORTHANC_ROOT}/OrthancCppClient/SharedLibrary/AUTOGENERATED/OrthancCppClient.h + ${ORTHANC_ROOT}/Plugins/OrthancCPlugin/OrthancCPlugin.h DESTINATION include/orthanc ) endif() @@ -502,10 +504,19 @@ add_custom_target(doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Orthanc.doxygen - COMMAND - ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancPlugin.doxygen + COMMENT "Generating internal documentation with Doxygen" VERBATIM + ) + + add_custom_command(TARGET Orthanc + POST_BUILD + COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/OrthancPlugin.doxygen WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} - COMMENT "Generating internal documentation with Doxygen" VERBATIM + COMMENT "Generating plugin documentation with Doxygen" VERBATIM + ) + + install( + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/OrthancPluginDocumentation/doc/ + DESTINATION share/doc/orthanc/OrthancPlugin ) if (BUILD_CLIENT_LIBRARY) diff -r 63924bc389bf -r 8c9574576f42 NEWS --- a/NEWS Thu Sep 11 17:51:06 2014 +0200 +++ b/NEWS Fri Sep 12 15:53:57 2014 +0200 @@ -1,6 +1,8 @@ Pending changes in the mainline =============================== +* Installation of plugin SDK in CMake + Version 0.8.3 (2014/09/11) ==========================