Mercurial > hg > orthanc
comparison CMakeLists.txt @ 3160:fc9a4a2dad63
merge
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Thu, 24 Jan 2019 10:55:19 +0100 |
parents | beeeb6096f27 |
children | 4bbadcd03966 |
comparison
equal
deleted
inserted
replaced
3159:4cfed5c2eacd | 3160:fc9a4a2dad63 |
---|---|
51 ##################################################################### | 51 ##################################################################### |
52 ## List of source files | 52 ## List of source files |
53 ##################################################################### | 53 ##################################################################### |
54 | 54 |
55 set(ORTHANC_SERVER_SOURCES | 55 set(ORTHANC_SERVER_SOURCES |
56 OrthancServer/DatabaseWrapper.cpp | 56 OrthancServer/Database/Compatibility/DatabaseLookup.cpp |
57 OrthancServer/Database/Compatibility/ICreateInstance.cpp | |
58 OrthancServer/Database/Compatibility/IGetChildrenMetadata.cpp | |
59 OrthancServer/Database/Compatibility/ILookupResources.cpp | |
60 OrthancServer/Database/Compatibility/SetOfResources.cpp | |
61 OrthancServer/Database/ResourcesContent.cpp | |
62 OrthancServer/Database/SQLiteDatabaseWrapper.cpp | |
57 OrthancServer/DicomInstanceOrigin.cpp | 63 OrthancServer/DicomInstanceOrigin.cpp |
58 OrthancServer/DicomInstanceToStore.cpp | 64 OrthancServer/DicomInstanceToStore.cpp |
59 OrthancServer/ExportedResource.cpp | 65 OrthancServer/ExportedResource.cpp |
60 OrthancServer/LuaScripting.cpp | 66 OrthancServer/LuaScripting.cpp |
61 OrthancServer/OrthancConfiguration.cpp | 67 OrthancServer/OrthancConfiguration.cpp |
69 OrthancServer/OrthancRestApi/OrthancRestChanges.cpp | 75 OrthancServer/OrthancRestApi/OrthancRestChanges.cpp |
70 OrthancServer/OrthancRestApi/OrthancRestModalities.cpp | 76 OrthancServer/OrthancRestApi/OrthancRestModalities.cpp |
71 OrthancServer/OrthancRestApi/OrthancRestResources.cpp | 77 OrthancServer/OrthancRestApi/OrthancRestResources.cpp |
72 OrthancServer/OrthancRestApi/OrthancRestSystem.cpp | 78 OrthancServer/OrthancRestApi/OrthancRestSystem.cpp |
73 OrthancServer/QueryRetrieveHandler.cpp | 79 OrthancServer/QueryRetrieveHandler.cpp |
80 OrthancServer/Search/DatabaseConstraint.cpp | |
74 OrthancServer/Search/DatabaseLookup.cpp | 81 OrthancServer/Search/DatabaseLookup.cpp |
75 OrthancServer/Search/DicomTagConstraint.cpp | 82 OrthancServer/Search/DicomTagConstraint.cpp |
76 OrthancServer/Search/HierarchicalMatcher.cpp | 83 OrthancServer/Search/HierarchicalMatcher.cpp |
77 OrthancServer/Search/IFindConstraint.cpp | 84 OrthancServer/Search/ISqlLookupFormatter.cpp |
78 OrthancServer/Search/ListConstraint.cpp | |
79 OrthancServer/Search/LookupIdentifierQuery.cpp | |
80 OrthancServer/Search/LookupResource.cpp | |
81 OrthancServer/Search/RangeConstraint.cpp | |
82 OrthancServer/Search/SetOfResources.cpp | |
83 OrthancServer/Search/ValueConstraint.cpp | |
84 OrthancServer/Search/WildcardConstraint.cpp | |
85 OrthancServer/ServerContext.cpp | 85 OrthancServer/ServerContext.cpp |
86 OrthancServer/ServerEnumerations.cpp | 86 OrthancServer/ServerEnumerations.cpp |
87 OrthancServer/ServerIndex.cpp | 87 OrthancServer/ServerIndex.cpp |
88 OrthancServer/ServerJobs/ArchiveJob.cpp | 88 OrthancServer/ServerJobs/ArchiveJob.cpp |
89 OrthancServer/ServerJobs/DicomModalityStoreJob.cpp | 89 OrthancServer/ServerJobs/DicomModalityStoreJob.cpp |
90 OrthancServer/ServerJobs/DicomMoveScuJob.cpp | 90 OrthancServer/ServerJobs/DicomMoveScuJob.cpp |
91 OrthancServer/ServerJobs/LuaJobManager.cpp | 91 OrthancServer/ServerJobs/LuaJobManager.cpp |
92 OrthancServer/ServerJobs/MergeStudyJob.cpp | 92 OrthancServer/ServerJobs/MergeStudyJob.cpp |
93 OrthancServer/ServerJobs/Operations/DeleteResourceOperation.cpp | 93 OrthancServer/ServerJobs/Operations/DeleteResourceOperation.cpp |
94 OrthancServer/ServerJobs/Operations/DicomInstanceOperationValue.cpp | |
94 OrthancServer/ServerJobs/Operations/ModifyInstanceOperation.cpp | 95 OrthancServer/ServerJobs/Operations/ModifyInstanceOperation.cpp |
95 OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp | 96 OrthancServer/ServerJobs/Operations/StorePeerOperation.cpp |
96 OrthancServer/ServerJobs/Operations/StoreScuOperation.cpp | 97 OrthancServer/ServerJobs/Operations/StoreScuOperation.cpp |
97 OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp | 98 OrthancServer/ServerJobs/Operations/SystemCallOperation.cpp |
98 OrthancServer/ServerJobs/OrthancJobUnserializer.cpp | 99 OrthancServer/ServerJobs/OrthancJobUnserializer.cpp |
125 UnitTestsSources/ZipTests.cpp | 126 UnitTestsSources/ZipTests.cpp |
126 ) | 127 ) |
127 | 128 |
128 | 129 |
129 if (ENABLE_PLUGINS) | 130 if (ENABLE_PLUGINS) |
131 include_directories(${CMAKE_SOURCE_DIR}/Plugins/Include) | |
132 | |
130 list(APPEND ORTHANC_SERVER_SOURCES | 133 list(APPEND ORTHANC_SERVER_SOURCES |
131 Plugins/Engine/OrthancPluginDatabase.cpp | 134 Plugins/Engine/OrthancPluginDatabase.cpp |
132 Plugins/Engine/OrthancPlugins.cpp | 135 Plugins/Engine/OrthancPlugins.cpp |
133 Plugins/Engine/PluginsEnumerations.cpp | 136 Plugins/Engine/PluginsEnumerations.cpp |
134 Plugins/Engine/PluginsErrorDictionary.cpp | 137 Plugins/Engine/PluginsErrorDictionary.cpp |
166 ##################################################################### | 169 ##################################################################### |
167 ## Autogeneration of files | 170 ## Autogeneration of files |
168 ##################################################################### | 171 ##################################################################### |
169 | 172 |
170 set(ORTHANC_EMBEDDED_FILES | 173 set(ORTHANC_EMBEDDED_FILES |
171 PREPARE_DATABASE ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/PrepareDatabase.sql | 174 CONFIGURATION_SAMPLE ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Configuration.json |
172 UPGRADE_DATABASE_3_TO_4 ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/Upgrade3To4.sql | 175 DICOM_CONFORMANCE_STATEMENT ${CMAKE_CURRENT_SOURCE_DIR}/Resources/DicomConformanceStatement.txt |
173 UPGRADE_DATABASE_4_TO_5 ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/Upgrade4To5.sql | 176 FONT_UBUNTU_MONO_BOLD_16 ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Fonts/UbuntuMonoBold-16.json |
174 CONFIGURATION_SAMPLE ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Configuration.json | 177 LUA_TOOLBOX ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Toolbox.lua |
175 DICOM_CONFORMANCE_STATEMENT ${CMAKE_CURRENT_SOURCE_DIR}/Resources/DicomConformanceStatement.txt | 178 PREPARE_DATABASE ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/Database/PrepareDatabase.sql |
176 LUA_TOOLBOX ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Toolbox.lua | 179 UPGRADE_DATABASE_3_TO_4 ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/Database/Upgrade3To4.sql |
177 FONT_UBUNTU_MONO_BOLD_16 ${CMAKE_CURRENT_SOURCE_DIR}/Resources/Fonts/UbuntuMonoBold-16.json | 180 UPGRADE_DATABASE_4_TO_5 ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/Database/Upgrade4To5.sql |
181 | |
182 INSTALL_TRACK_ATTACHMENTS_SIZE | |
183 ${CMAKE_CURRENT_SOURCE_DIR}/OrthancServer/Database/InstallTrackAttachmentsSize.sql | |
178 ) | 184 ) |
179 | 185 |
180 if (STANDALONE_BUILD) | 186 if (STANDALONE_BUILD) |
181 # We embed all the resources in the binaries for standalone builds | 187 # We embed all the resources in the binaries for standalone builds |
182 add_definitions(-DORTHANC_STANDALONE=1) | 188 add_definitions(-DORTHANC_STANDALONE=1) |
228 add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=1) | 234 add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=1) |
229 else() | 235 else() |
230 add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=0) | 236 add_definitions(-DUNIT_TESTS_WITH_HTTP_CONNEXIONS=0) |
231 endif() | 237 endif() |
232 | 238 |
233 | |
234 include_directories(${CMAKE_SOURCE_DIR}/Plugins/Include) | |
235 | 239 |
236 add_definitions( | 240 add_definitions( |
237 -DORTHANC_BUILD_UNIT_TESTS=1 | 241 -DORTHANC_BUILD_UNIT_TESTS=1 |
238 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 | 242 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 |
239 | 243 |