Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/Plugin/CMakeLists.txt @ 1877:a2955abe4c2e
skeleton for the RenderingPlugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 12 Jan 2022 08:23:38 +0100 |
parents | 7053b8a0aaec |
children | 07964689cb0b |
comparison
equal
deleted
inserted
replaced
1876:b1f510e601d2 | 1877:a2955abe4c2e |
---|---|
67 | 67 |
68 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) | 68 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) |
69 include_directories(${ORTHANC_FRAMEWORK_ROOT}) | 69 include_directories(${ORTHANC_FRAMEWORK_ROOT}) |
70 endif() | 70 endif() |
71 | 71 |
72 include(${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) | 72 include(${CMAKE_SOURCE_DIR}/../../../RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginsExports.cmake) |
73 | 73 |
74 | 74 |
75 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) | 75 if (STATIC_BUILD OR NOT USE_SYSTEM_ORTHANC_SDK) |
76 include_directories(${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Sdk-1.0.0) | 76 include_directories(${CMAKE_SOURCE_DIR}/../../../RenderingPlugin/Resources/Orthanc/Sdk-1.0.0) |
77 else () | 77 else () |
78 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) | 78 CHECK_INCLUDE_FILE_CXX(orthanc/OrthancCPlugin.h HAVE_ORTHANC_H) |
79 if (NOT HAVE_ORTHANC_H) | 79 if (NOT HAVE_ORTHANC_H) |
80 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") | 80 message(FATAL_ERROR "Please install the headers of the Orthanc plugins SDK") |
81 endif() | 81 endif() |
126 ) | 126 ) |
127 | 127 |
128 add_library(StoneWebViewer SHARED | 128 add_library(StoneWebViewer SHARED |
129 Plugin.cpp | 129 Plugin.cpp |
130 ${AUTOGENERATED_SOURCES} | 130 ${AUTOGENERATED_SOURCES} |
131 ${CMAKE_SOURCE_DIR}/../../Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp | 131 ${CMAKE_SOURCE_DIR}/../../../RenderingPlugin/Resources/Orthanc/Plugins/OrthancPluginCppWrapper.cpp |
132 ${ORTHANC_CORE_SOURCES} | 132 ${ORTHANC_CORE_SOURCES} |
133 ) | 133 ) |
134 | 134 |
135 set_target_properties(StoneWebViewer PROPERTIES | 135 set_target_properties(StoneWebViewer PROPERTIES |
136 VERSION ${STONE_WEB_VIEWER_VERSION} | 136 VERSION ${STONE_WEB_VIEWER_VERSION} |