Mercurial > hg > orthanc
comparison CMakeLists.txt @ 1025:da2226739305
integration templating->mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 10 Jul 2014 11:54:21 +0200 |
parents | a93867a94011 |
children | 7f748bac15e5 |
comparison
equal
deleted
inserted
replaced
1022:211acef628a1 | 1025:da2226739305 |
---|---|
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)") | |
23 | 26 |
24 # Advanced parameters to fine-tune linking against system libraries | 27 # Advanced parameters to fine-tune linking against system libraries |
25 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") | 28 SET(USE_SYSTEM_JSONCPP ON CACHE BOOL "Use the system version of JsonCpp") |
26 SET(USE_SYSTEM_GOOGLE_LOG ON CACHE BOOL "Use the system version of Google Log") | 29 SET(USE_SYSTEM_GOOGLE_LOG ON CACHE BOOL "Use the system version of Google Log") |
27 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") | 30 SET(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") |
32 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of Boost") | 35 SET(USE_SYSTEM_BOOST ON CACHE BOOL "Use the system version of Boost") |
33 SET(USE_SYSTEM_LIBPNG ON CACHE BOOL "Use the system version of LibPng") | 36 SET(USE_SYSTEM_LIBPNG ON CACHE BOOL "Use the system version of LibPng") |
34 SET(USE_SYSTEM_CURL ON CACHE BOOL "Use the system version of LibCurl") | 37 SET(USE_SYSTEM_CURL ON CACHE BOOL "Use the system version of LibCurl") |
35 SET(USE_SYSTEM_OPENSSL ON CACHE BOOL "Use the system version of OpenSSL") | 38 SET(USE_SYSTEM_OPENSSL ON CACHE BOOL "Use the system version of OpenSSL") |
36 SET(USE_SYSTEM_ZLIB ON CACHE BOOL "Use the system version of ZLib") | 39 SET(USE_SYSTEM_ZLIB ON CACHE BOOL "Use the system version of ZLib") |
40 SET(USE_SYSTEM_PLUSTACHE OFF CACHE BOOL "Use the system version of Plustache (experimental)") | |
37 | 41 |
38 # Distribution-specific settings | 42 # Distribution-specific settings |
39 SET(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") | 43 SET(USE_GTEST_DEBIAN_SOURCE_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") |
40 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE) | 44 mark_as_advanced(USE_GTEST_DEBIAN_SOURCE_PACKAGE) |
41 | 45 |
184 UnitTestsSources/LuaTests.cpp | 188 UnitTestsSources/LuaTests.cpp |
185 UnitTestsSources/MultiThreadingTests.cpp | 189 UnitTestsSources/MultiThreadingTests.cpp |
186 UnitTestsSources/UnitTestsMain.cpp | 190 UnitTestsSources/UnitTestsMain.cpp |
187 UnitTestsSources/ImageProcessingTests.cpp | 191 UnitTestsSources/ImageProcessingTests.cpp |
188 UnitTestsSources/JpegLosslessTests.cpp | 192 UnitTestsSources/JpegLosslessTests.cpp |
189 | |
190 UnitTestsSources/PluginsTests.cpp | 193 UnitTestsSources/PluginsTests.cpp |
194 UnitTestsSources/PlustacheTests.cpp | |
191 ) | 195 ) |
192 | 196 |
193 | 197 |
194 | 198 |
195 ##################################################################### | 199 ##################################################################### |
216 include(${CMAKE_SOURCE_DIR}/Resources/CMake/SQLiteConfiguration.cmake) | 220 include(${CMAKE_SOURCE_DIR}/Resources/CMake/SQLiteConfiguration.cmake) |
217 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake) | 221 include(${CMAKE_SOURCE_DIR}/Resources/CMake/JsonCppConfiguration.cmake) |
218 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibPngConfiguration.cmake) | 222 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibPngConfiguration.cmake) |
219 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LuaConfiguration.cmake) | 223 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LuaConfiguration.cmake) |
220 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibCurlConfiguration.cmake) | 224 include(${CMAKE_SOURCE_DIR}/Resources/CMake/LibCurlConfiguration.cmake) |
225 include(${CMAKE_SOURCE_DIR}/Resources/CMake/PlustacheConfiguration.cmake) | |
221 | 226 |
222 | 227 |
223 if (${ENABLE_SSL}) | 228 if (${ENABLE_SSL}) |
224 add_definitions(-DORTHANC_SSL_ENABLED=1) | 229 add_definitions(-DORTHANC_SSL_ENABLED=1) |
225 include(${CMAKE_SOURCE_DIR}/Resources/CMake/OpenSslConfiguration.cmake) | 230 include(${CMAKE_SOURCE_DIR}/Resources/CMake/OpenSslConfiguration.cmake) |