comparison Resources/Orthanc/DownloadOrthancFramework.cmake @ 1456:86f89ab3563e

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 20:54:16 +0200
parents 9a0a95c0b578
children 8e5f69c94fea
comparison
equal deleted inserted replaced
1455:30deba7bc8e2 1456:86f89ab3563e
110 set(ORTHANC_FRAMEWORK_MD5 "3c29de1e289b5472342947168f0105c0") 110 set(ORTHANC_FRAMEWORK_MD5 "3c29de1e289b5472342947168f0105c0")
111 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.5.7") 111 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.5.7")
112 set(ORTHANC_FRAMEWORK_MD5 "e1b76f01116d9b5d4ac8cc39980560e3") 112 set(ORTHANC_FRAMEWORK_MD5 "e1b76f01116d9b5d4ac8cc39980560e3")
113 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.5.8") 113 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.5.8")
114 set(ORTHANC_FRAMEWORK_MD5 "82323e8c49a667f658a3639ea4dbc336") 114 set(ORTHANC_FRAMEWORK_MD5 "82323e8c49a667f658a3639ea4dbc336")
115 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "1.6.0")
116 set(ORTHANC_FRAMEWORK_MD5 "eab428d6e53f61e847fa360bb17ebe25")
117
118 # Below this point are development snapshots that were used to
119 # release some plugin, before an official release of the Orthanc
120 # framework was available. Here is the command to be used to
121 # generate a proper archive:
122 #
123 # $ hg archive /tmp/Orthanc-`hg id -i | sed 's/\+//'`.tar.gz
124 #
125 elseif (ORTHANC_FRAMEWORK_VERSION STREQUAL "ae0e3fd609df")
126 # DICOMweb 1.1 (framework pre-1.6.0)
127 set(ORTHANC_FRAMEWORK_MD5 "7e09e9b530a2f527854f0b782d7e0645")
115 endif() 128 endif()
116 endif() 129 endif()
117 endif() 130 endif()
118 else() 131 else()
119 message("Using the Orthanc framework from a path of the filesystem. Assuming mainline version.") 132 message("Using the Orthanc framework from a path of the filesystem. Assuming mainline version.")
201 RESULT_VARIABLE Failure 214 RESULT_VARIABLE Failure
202 ) 215 )
203 else() 216 else()
204 message("Forking the Orthanc source repository using Mercurial") 217 message("Forking the Orthanc source repository using Mercurial")
205 execute_process( 218 execute_process(
206 COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://bitbucket.org/sjodogne/orthanc" 219 COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://hg.orthanc-server.com/orthanc/"
207 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} 220 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
208 RESULT_VARIABLE Failure 221 RESULT_VARIABLE Failure
209 ) 222 )
210 endif() 223 endif()
211 224