comparison MySQL/CMakeLists.txt @ 521:2ab3d45c0b3c large-queries

merge default -> large-queries
author Alain Mazy <am@orthanc.team>
date Thu, 04 Jul 2024 07:44:39 +0200
parents 586b80ea397c
children e1d3da372805
comparison
equal deleted inserted replaced
501:594859656a06 521:2ab3d45c0b3c
1 # Orthanc - A Lightweight, RESTful DICOM Store 1 # Orthanc - A Lightweight, RESTful DICOM Store
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics 2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
3 # Department, University Hospital of Liege, Belgium 3 # Department, University Hospital of Liege, Belgium
4 # Copyright (C) 2017-2024 Osimis S.A., Belgium 4 # Copyright (C) 2017-2023 Osimis S.A., Belgium
5 # Copyright (C) 2024-2024 Orthanc Team SRL, Belgium
5 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium 6 # Copyright (C) 2021-2024 Sebastien Jodogne, ICTEAM UCLouvain, Belgium
6 # 7 #
7 # This program is free software: you can redistribute it and/or 8 # This program is free software: you can redistribute it and/or
8 # modify it under the terms of the GNU Affero General Public License 9 # modify it under the terms of the GNU Affero General Public License
9 # as published by the Free Software Foundation, either version 3 of 10 # as published by the Free Software Foundation, either version 3 of
26 # This is the preferred version of the Orthanc SDK for this plugin 27 # This is the preferred version of the Orthanc SDK for this plugin
27 set(ORTHANC_SDK_DEFAULT_VERSION "1.12.0") 28 set(ORTHANC_SDK_DEFAULT_VERSION "1.12.0")
28 29
29 # This is the list of the versions of the Orthanc SDK against which 30 # This is the list of the versions of the Orthanc SDK against which
30 # this plugin will compile 31 # this plugin will compile
31 set(ORTHANC_SDK_COMPATIBLE_VERSIONS "0.9.5" "1.4.0" "1.5.2" "1.5.4" "1.9.2" "1.12.0" "1.12.3") 32 set(ORTHANC_SDK_COMPATIBLE_VERSIONS "0.9.5" "1.4.0" "1.5.2" "1.5.4" "1.9.2" "1.12.0" "1.12.3" "1.12.4")
32 33
33 # This is the minimal version of the Orthanc runtime that will provide 34 # This is the minimal version of the Orthanc runtime that will provide
34 # best performance. If the version of the Orthanc runtime is below 35 # best performance. If the version of the Orthanc runtime is below
35 # this minimal version, a warning message will be printed (but the 36 # this minimal version, a warning message will be printed (but the
36 # plugin will still start). 37 # plugin will still start).
40 41
41 if (ORTHANC_PLUGIN_VERSION STREQUAL "mainline") 42 if (ORTHANC_PLUGIN_VERSION STREQUAL "mainline")
42 set(ORTHANC_FRAMEWORK_VERSION "mainline") 43 set(ORTHANC_FRAMEWORK_VERSION "mainline")
43 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg") 44 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
44 else() 45 else()
45 set(ORTHANC_FRAMEWORK_VERSION "1.12.3") 46 set(ORTHANC_FRAMEWORK_VERSION "1.12.4")
46 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web") 47 set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
47 endif() 48 endif()
48 49
49 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginParameters.cmake) 50 include(${CMAKE_SOURCE_DIR}/../Resources/CMake/DatabasesPluginParameters.cmake)
50 51
88 89
89 EmbedResources( 90 EmbedResources(
90 MYSQL_PREPARE_INDEX ${CMAKE_SOURCE_DIR}/Plugins/PrepareIndex.sql 91 MYSQL_PREPARE_INDEX ${CMAKE_SOURCE_DIR}/Plugins/PrepareIndex.sql
91 MYSQL_GET_LAST_CHANGE_INDEX ${CMAKE_SOURCE_DIR}/Plugins/GetLastChangeIndex.sql 92 MYSQL_GET_LAST_CHANGE_INDEX ${CMAKE_SOURCE_DIR}/Plugins/GetLastChangeIndex.sql
92 MYSQL_CREATE_INSTANCE ${CMAKE_SOURCE_DIR}/Plugins/CreateInstance.sql 93 MYSQL_CREATE_INSTANCE ${CMAKE_SOURCE_DIR}/Plugins/CreateInstance.sql
94 MYSQL_DELETE_RESOURCES ${CMAKE_SOURCE_DIR}/Plugins/DeleteResources.sql
93 ) 95 )
94 96
95 if (EXISTS ${ORTHANC_SDK_ROOT}/orthanc/OrthancDatabasePlugin.proto) 97 if (EXISTS ${ORTHANC_SDK_ROOT}/orthanc/OrthancDatabasePlugin.proto)
96 add_custom_command( 98 add_custom_command(
97 COMMAND 99 COMMAND