comparison CMakeLists.txt @ 43:a5386ba9b1ca

static build bound to Orthanc 0.9.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Jul 2015 09:18:59 +0200
parents 6eb4082b3414
children 6f27794044a2
comparison
equal deleted inserted replaced
42:6eb4082b3414 43:a5386ba9b1ca
62 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JavaScriptLibraries.cmake) 62 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JavaScriptLibraries.cmake)
63 63
64 64
65 # Check that the Orthanc SDK headers are available or download them 65 # Check that the Orthanc SDK headers are available or download them
66 if (STATIC_BUILD) 66 if (STATIC_BUILD)
67 set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg") 67 #set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg")
68 #set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg-history/Orthanc-0.8.6") 68 set(ORTHANC_SDK_URL "http://orthanc.googlecode.com/hg-history/Orthanc-0.9.1")
69 file(MAKE_DIRECTORY ${AUTOGENERATED_DIR}/orthanc) 69 file(MAKE_DIRECTORY ${AUTOGENERATED_DIR}/orthanc)
70 file(DOWNLOAD "${ORTHANC_SDK_URL}/Plugins/Include/orthanc/OrthancCPlugin.h" 70 file(DOWNLOAD "${ORTHANC_SDK_URL}/Plugins/Include/orthanc/OrthancCPlugin.h"
71 "${AUTOGENERATED_DIR}/orthanc/OrthancCPlugin.h" SHOW_PROGRESS) 71 "${AUTOGENERATED_DIR}/orthanc/OrthancCPlugin.h" SHOW_PROGRESS)
72 if (${MSVC}) 72 if (${MSVC})
73 add_definitions(-D_CRT_SECURE_NO_WARNINGS=1) 73 add_definitions(-D_CRT_SECURE_NO_WARNINGS=1)