comparison Applications/Samples/CMakeLists.txt @ 857:0c0fc20a6902

macro ORTHANC_ENABLE_LOGGING_PLUGIN must be defined per app, not by stone
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Jun 2019 17:41:35 +0200
parents 31487d066d1d
children 2d69b8bee484
comparison
equal deleted inserted replaced
855:41d22389a7d2 857:0c0fc20a6902
80 set(ENABLE_GOOGLE_TEST ON) 80 set(ENABLE_GOOGLE_TEST ON)
81 set(ENABLE_WEB_CLIENT ON) 81 set(ENABLE_WEB_CLIENT ON)
82 82
83 endif() 83 endif()
84 84
85
85 ##################################################################### 86 #####################################################################
86 ## Configuration for Orthanc 87 ## Configuration for Orthanc
87 ##################################################################### 88 #####################################################################
88 89
89 # include(../../Resources/CMake/Version.cmake) 90 # include(../../Resources/CMake/Version.cmake)
97 endif() 98 endif()
98 99
99 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")") 100 set(ORTHANC_FRAMEWORK_SOURCE "${ORTHANC_FRAMEWORK_DEFAULT_SOURCE}" CACHE STRING "Source of the Orthanc source code (can be \"hg\", \"archive\", \"web\" or \"path\")")
100 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"") 101 set(ORTHANC_FRAMEWORK_ARCHIVE "" CACHE STRING "Path to the Orthanc archive, if ORTHANC_FRAMEWORK_SOURCE is \"archive\"")
101 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"") 102 set(ORTHANC_FRAMEWORK_ROOT "" CACHE STRING "Path to the Orthanc source directory, if ORTHANC_FRAMEWORK_SOURCE is \"path\"")
103
104 add_definitions(
105 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
106 )
102 107
103 108
104 ##################################################################### 109 #####################################################################
105 ## Build a static library containing the Orthanc Stone framework 110 ## Build a static library containing the Orthanc Stone framework
106 ##################################################################### 111 #####################################################################