comparison Plugins/Samples/ServeFolders/CMakeLists.txt @ 2176:fead5549aaa7

introduction of HAS_ORTHANC_EXCEPTION to avoid PluginException if not necessary
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Nov 2016 12:07:36 +0100
parents 40ffd0e8676a
children
comparison
equal deleted inserted replaced
2175:bed8e7ad8bab 2176:fead5549aaa7
19 ${CMAKE_SOURCE_DIR}/../Common/OrthancPluginCppWrapper.cpp 19 ${CMAKE_SOURCE_DIR}/../Common/OrthancPluginCppWrapper.cpp
20 ${JSONCPP_SOURCES} 20 ${JSONCPP_SOURCES}
21 ${BOOST_SOURCES} 21 ${BOOST_SOURCES}
22 ) 22 )
23 23
24 add_definitions(-DHAS_ORTHANC_EXCEPTION=0)
25
24 message("Setting the version of the plugin to ${SERVE_FOLDERS_VERSION}") 26 message("Setting the version of the plugin to ${SERVE_FOLDERS_VERSION}")
25 add_definitions(-DSERVE_FOLDERS_VERSION="${SERVE_FOLDERS_VERSION}") 27 add_definitions(-DSERVE_FOLDERS_VERSION="${SERVE_FOLDERS_VERSION}")
26 28
27 set_target_properties(ServeFolders PROPERTIES 29 set_target_properties(ServeFolders PROPERTIES
28 VERSION ${SERVE_FOLDERS_VERSION} 30 VERSION ${SERVE_FOLDERS_VERSION}