comparison CMakeLists.txt @ 1455:a68545767975

Initialize() and Finalize() events in Lua
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 02 Jul 2015 15:17:19 +0200
parents b2b09a3dbd8e
children d659b6a4e736
comparison
equal deleted inserted replaced
1454:9de4fa64e29c 1455:a68545767975
25 SET(DCMTK_DICTIONARY_DIR "" CACHE PATH "Directory containing the DCMTK dictionaries \"dicom.dic\" and \"private.dic\" (only when using system version of DCMTK)") 25 SET(DCMTK_DICTIONARY_DIR "" CACHE PATH "Directory containing the DCMTK dictionaries \"dicom.dic\" and \"private.dic\" (only when using system version of DCMTK)")
26 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") 26 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages")
27 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests") 27 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests")
28 SET(ENABLE_JPEG ON CACHE BOOL "Enable JPEG decompression") 28 SET(ENABLE_JPEG ON CACHE BOOL "Enable JPEG decompression")
29 SET(ENABLE_JPEG_LOSSLESS ON CACHE BOOL "Enable JPEG-LS (Lossless) decompression") 29 SET(ENABLE_JPEG_LOSSLESS ON CACHE BOOL "Enable JPEG-LS (Lossless) decompression")
30 SET(ENABLE_PLUGINS ON CACHE BOOL "Enable plugins")
30 31
31 # Advanced parameters to fine-tune linking against system libraries 32 # Advanced parameters to fine-tune linking against system libraries
32 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") 33 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp")
33 SET(USE_SYSTEM_GOOGLE_LOG ON CACHE BOOL "Use the system version of Google Log") 34 SET(USE_SYSTEM_GOOGLE_LOG ON CACHE BOOL "Use the system version of Google Log")
34 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") 35 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test")
52 SET(USE_BOOST_ICONV ON CACHE BOOL "Use iconv instead of wconv (Windows only)") 53 SET(USE_BOOST_ICONV ON CACHE BOOL "Use iconv instead of wconv (Windows only)")
53 54
54 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE) 55 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE)
55 mark_as_advanced(SYSTEM_MONGOOSE_USE_CALLBACKS) 56 mark_as_advanced(SYSTEM_MONGOOSE_USE_CALLBACKS)
56 mark_as_advanced(USE_BOOST_ICONV) 57 mark_as_advanced(USE_BOOST_ICONV)
58 mark_as_advanced(USE_PUGIXML)
57 59
58 # Path to the root folder of the Orthanc distribution 60 # Path to the root folder of the Orthanc distribution
59 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR}) 61 set(ORTHANC_ROOT ${CMAKE_SOURCE_DIR})
60 62
61 # Some basic inclusions 63 # Some basic inclusions
259 else() 261 else()
260 add_definitions(-DORTHANC_JPEG_LOSSLESS_ENABLED=0) 262 add_definitions(-DORTHANC_JPEG_LOSSLESS_ENABLED=0)
261 endif() 263 endif()
262 264
263 265
266 if (ENABLE_PLUGINS)
267 add_definitions(-DORTHANC_PLUGINS_ENABLED=1)
268 else()
269 add_definitions(-DORTHANC_PLUGINS_ENABLED=0)
270 endif()
271
272
264 273
265 ##################################################################### 274 #####################################################################
266 ## Autogeneration of files 275 ## Autogeneration of files
267 ##################################################################### 276 #####################################################################
268 277