Mercurial > hg > orthanc
comparison CMakeLists.txt @ 1045:0bfeeb6d340f
json to xml conversion with pugixml
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Jul 2014 16:41:10 +0200 |
parents | bd17030db6d4 |
children | 00f9f36bcd94 |
comparison
equal
deleted
inserted
replaced
1044:6d90e2bcab60 | 1045:0bfeeb6d340f |
---|---|
18 SET(DCMTK_DICTIONARY_DIR "" CACHE PATH "Directory containing the DCMTK dictionaries \"dicom.dic\" and \"private.dic\" (only when using system version of DCMTK)") | 18 SET(DCMTK_DICTIONARY_DIR "" CACHE PATH "Directory containing the DCMTK dictionaries \"dicom.dic\" and \"private.dic\" (only when using system version of DCMTK)") |
19 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") | 19 SET(ALLOW_DOWNLOADS OFF CACHE BOOL "Allow CMake to download packages") |
20 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests") | 20 SET(UNIT_TESTS_WITH_HTTP_CONNEXIONS ON CACHE BOOL "Allow unit tests to make HTTP requests") |
21 SET(ENABLE_JPEG ON CACHE BOOL "Enable JPEG decompression") | 21 SET(ENABLE_JPEG ON CACHE BOOL "Enable JPEG decompression") |
22 SET(ENABLE_JPEG_LOSSLESS ON CACHE BOOL "Enable JPEG-LS (Lossless) decompression") | 22 SET(ENABLE_JPEG_LOSSLESS ON CACHE BOOL "Enable JPEG-LS (Lossless) decompression") |
23 | |
24 # Experimental options | |
25 SET(USE_PLUSTACHE OFF CACHE BOOL "Use the Plustache templating engine (experimental)") | |
26 | 23 |
27 # Advanced parameters to fine-tune linking against system libraries | 24 # Advanced parameters to fine-tune linking against system libraries |
28 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") | 25 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") |
29 SET(USE_SYSTEM_GOOGLE_LOG ON CACHE BOOL "Use the system version of Google Log") | 26 SET(USE_SYSTEM_GOOGLE_LOG ON CACHE BOOL "Use the system version of Google Log") |
30 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") | 27 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") |
35 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of Boost") | 32 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of Boost") |
36 SET(USE_SYSTEM_LIBPNG ON CACHE BOOL "Use the system version of LibPng") | 33 SET(USE_SYSTEM_LIBPNG ON CACHE BOOL "Use the system version of LibPng") |
37 SET(USE_SYSTEM_CURL ON CACHE BOOL "Use the system version of LibCurl") | 34 SET(USE_SYSTEM_CURL ON CACHE BOOL "Use the system version of LibCurl") |
38 SET(USE_SYSTEM_OPENSSL ON CACHE BOOL "Use the system version of OpenSSL") | 35 SET(USE_SYSTEM_OPENSSL ON CACHE BOOL "Use the system version of OpenSSL") |
39 SET(USE_SYSTEM_ZLIB ON CACHE BOOL "Use the system version of ZLib") | 36 SET(USE_SYSTEM_ZLIB ON CACHE BOOL "Use the system version of ZLib") |
37 | |
38 # Experimental options | |
39 SET(USE_PLUSTACHE OFF CACHE BOOL "Use the Plustache templating engine (experimental)") | |
40 SET(USE_PUGIXML OFF CACHE BOOL "Use the Pugixml parser (experimental)") | |
40 SET(USE_SYSTEM_PLUSTACHE OFF CACHE BOOL "Use the system version of Plustache (experimental)") | 41 SET(USE_SYSTEM_PLUSTACHE OFF CACHE BOOL "Use the system version of Plustache (experimental)") |
42 SET(USE_SYSTEM_PUGIXML OFF CACHE BOOL "Use the system version of Pugixml (experimental)") | |
41 | 43 |
42 # Distribution-specific settings | 44 # Distribution-specific settings |
43 SET(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") | 45 SET(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") |
44 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE) | 46 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE) |
45 | 47 |
221 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake) | 223 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake) |
222 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibPngConfiguration.cmake) | 224 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibPngConfiguration.cmake) |
223 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LuaConfiguration.cmake) | 225 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LuaConfiguration.cmake) |
224 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibCurlConfiguration.cmake) | 226 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibCurlConfiguration.cmake) |
225 include(${CMAKE_SOURCE_DIR}/Resources/CMake/PlustacheConfiguration.cmake) | 227 include(${CMAKE_SOURCE_DIR}/Resources/CMake/PlustacheConfiguration.cmake) |
228 include(${CMAKE_SOURCE_DIR}/Resources/CMake/PugixmlConfiguration.cmake) | |
226 | 229 |
227 | 230 |
228 if (${ENABLE_SSL}) | 231 if (${ENABLE_SSL}) |
229 add_definitions(-DORTHANC_SSL_ENABLED=1) | 232 add_definitions(-DORTHANC_SSL_ENABLED=1) |
230 include(${CMAKE_SOURCE_DIR}/Resources/CMake/OpenSslConfiguration.cmake) | 233 include(${CMAKE_SOURCE_DIR}/Resources/CMake/OpenSslConfiguration.cmake) |