Mercurial > hg > orthanc-transfers
comparison Resources/Orthanc/CMake/DownloadOrthancFramework.cmake @ 64:5fb01c588287
updated to Orthanc Framework 1.12.1
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 11 Oct 2023 15:58:27 +0200 |
parents | c8e2019ed5cb |
children | 1078942460cc |
comparison
equal
deleted
inserted
replaced
63:9789c6003e9d | 64:5fb01c588287 |
---|---|
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-2022 Osimis S.A., Belgium | 4 # Copyright (C) 2017-2023 Osimis S.A., Belgium |
5 # Copyright (C) 2021-2022 Sebastien Jodogne, ICTEAM UCLouvain, Belgium | 5 # Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
6 # | 6 # |
7 # This program is free software: you can redistribute it and/or | 7 # This program is free software: you can redistribute it and/or |
8 # modify it under the terms of the GNU Lesser General Public License | 8 # modify it under the terms of the GNU Lesser General Public License |
9 # as published by the Free Software Foundation, either version 3 of | 9 # as published by the Free Software Foundation, either version 3 of |
10 # the License, or (at your option) any later version. | 10 # the License, or (at your option) any later version. |
152 set(ORTHANC_FRAMEWORK_MD5 "a39661c406adf22cf574fde290cf4bbf") | 152 set(ORTHANC_FRAMEWORK_MD5 "a39661c406adf22cf574fde290cf4bbf") |
153 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.2") | 153 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.2") |
154 set(ORTHANC_FRAMEWORK_MD5 "ede3de356493a8868545f8cb4b8bc8b5") | 154 set(ORTHANC_FRAMEWORK_MD5 "ede3de356493a8868545f8cb4b8bc8b5") |
155 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.3") | 155 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.11.3") |
156 set(ORTHANC_FRAMEWORK_MD5 "f941c0f5771db7616e7b7961026a60e2") | 156 set(ORTHANC_FRAMEWORK_MD5 "f941c0f5771db7616e7b7961026a60e2") |
157 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.12.0") | |
158 set(ORTHANC_FRAMEWORK_MD5 "d32a0cde03b6eb603d8dd2b33d38bf1b") | |
159 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.12.1") | |
160 set(ORTHANC_FRAMEWORK_MD5 "8a435140efc8ff4a01d8242f092f21de") | |
157 | 161 |
158 # Below this point are development snapshots that were used to | 162 # Below this point are development snapshots that were used to |
159 # release some plugin, before an official release of the Orthanc | 163 # release some plugin, before an official release of the Orthanc |
160 # framework was available. Here is the command to be used to | 164 # framework was available. Here is the command to be used to |
161 # generate a proper archive: | 165 # generate a proper archive: |
175 # For "Toolbox::ReadJson()" and "Toolbox::Write{...}Json()" (pre-1.9.0) | 179 # For "Toolbox::ReadJson()" and "Toolbox::Write{...}Json()" (pre-1.9.0) |
176 set(ORTHANC_FRAMEWORK_MD5 "9af92080e57c60dd288eba46ce606c00") | 180 set(ORTHANC_FRAMEWORK_MD5 "9af92080e57c60dd288eba46ce606c00") |
177 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "b2e08d83e21d") | 181 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "b2e08d83e21d") |
178 # WSI 1.1 (framework pre-1.10.0), to remove "-std=c++11" | 182 # WSI 1.1 (framework pre-1.10.0), to remove "-std=c++11" |
179 set(ORTHANC_FRAMEWORK_MD5 "2eaa073cbb4b44ffba199ad93393b2b1") | 183 set(ORTHANC_FRAMEWORK_MD5 "2eaa073cbb4b44ffba199ad93393b2b1") |
184 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "daf4807631c5") | |
185 # DICOMweb 1.15 (framework pre-1.12.2) | |
186 set(ORTHANC_FRAMEWORK_MD5 "c644aff2817306b3207c98c92e43f35f") | |
180 endif() | 187 endif() |
181 endif() | 188 endif() |
182 endif() | 189 endif() |
183 | 190 |
184 elseif (ORTHANC_FRAMEWORK_SOURCE STREQUAL "path") | 191 elseif (ORTHANC_FRAMEWORK_SOURCE STREQUAL "path") |
311 if (DEFINED ORTHANC_FRAMEWORK_URL) | 318 if (DEFINED ORTHANC_FRAMEWORK_URL) |
312 string(REGEX REPLACE "^.*/" "" ORTHANC_FRAMEMORK_FILENAME "${ORTHANC_FRAMEWORK_URL}") | 319 string(REGEX REPLACE "^.*/" "" ORTHANC_FRAMEMORK_FILENAME "${ORTHANC_FRAMEWORK_URL}") |
313 else() | 320 else() |
314 # Default case: Download from the official Web site | 321 # Default case: Download from the official Web site |
315 set(ORTHANC_FRAMEMORK_FILENAME Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz) | 322 set(ORTHANC_FRAMEMORK_FILENAME Orthanc-${ORTHANC_FRAMEWORK_VERSION}.tar.gz) |
316 set(ORTHANC_FRAMEWORK_URL "http://orthanc.osimis.io/ThirdPartyDownloads/orthanc-framework/${ORTHANC_FRAMEMORK_FILENAME}") | 323 set(ORTHANC_FRAMEWORK_URL "https://orthanc.uclouvain.be/third-party-downloads/orthanc-framework/${ORTHANC_FRAMEMORK_FILENAME}") |
317 endif() | 324 endif() |
318 | 325 |
319 set(ORTHANC_FRAMEWORK_ARCHIVE "${CMAKE_SOURCE_DIR}/ThirdPartyDownloads/${ORTHANC_FRAMEMORK_FILENAME}") | 326 set(ORTHANC_FRAMEWORK_ARCHIVE "${CMAKE_SOURCE_DIR}/ThirdPartyDownloads/${ORTHANC_FRAMEMORK_FILENAME}") |
320 | 327 |
321 if (NOT EXISTS "${ORTHANC_FRAMEWORK_ARCHIVE}") | 328 if (NOT EXISTS "${ORTHANC_FRAMEWORK_ARCHIVE}") |