comparison CMakeLists.txt @ 3074:495c5edce708 db-changes

new extension for database plugin SDK: lookupResources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 02 Jan 2019 15:50:44 +0100
parents 2df061cf2fec
children 1a75595d8e44
comparison
equal deleted inserted replaced
3073:0e9d1731b1b0 3074:495c5edce708
122 UnitTestsSources/ZipTests.cpp 122 UnitTestsSources/ZipTests.cpp
123 ) 123 )
124 124
125 125
126 if (ENABLE_PLUGINS) 126 if (ENABLE_PLUGINS)
127 include_directories(${CMAKE_SOURCE_DIR}/Plugins/Include)
128
127 list(APPEND ORTHANC_SERVER_SOURCES 129 list(APPEND ORTHANC_SERVER_SOURCES
128 Plugins/Engine/OrthancPluginDatabase.cpp 130 Plugins/Engine/OrthancPluginDatabase.cpp
129 Plugins/Engine/OrthancPlugins.cpp 131 Plugins/Engine/OrthancPlugins.cpp
130 Plugins/Engine/PluginsEnumerations.cpp 132 Plugins/Engine/PluginsEnumerations.cpp
131 Plugins/Engine/PluginsErrorDictionary.cpp 133 Plugins/Engine/PluginsErrorDictionary.cpp
227 else() 229 else()
228 add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=0) 230 add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=0)
229 endif() 231 endif()
230 232
231 233
232 include_directories(${CMAKE_SOURCE_DIR}/Plugins/Include)
233
234 add_definitions( 234 add_definitions(
235 -DORTHANC_BUILD_UNIT_TESTS=1 235 -DORTHANC_BUILD_UNIT_TESTS=1
236 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 236 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
237 237
238 # Macros for the plugins 238 # Macros for the plugins