Mercurial > hg > orthanc
comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2782:64e3d4ab158d
find sandboxed builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 24 Jul 2018 10:39:08 +0200 |
parents | 83c991aeb611 |
children | 167105b5b48e |
comparison
equal
deleted
inserted
replaced
2781:13038d638097 | 2782:64e3d4ab158d |
---|---|
291 include(${CMAKE_CURRENT_LIST_DIR}/ZlibConfiguration.cmake) | 291 include(${CMAKE_CURRENT_LIST_DIR}/ZlibConfiguration.cmake) |
292 add_definitions(-DORTHANC_ENABLE_ZLIB=1) | 292 add_definitions(-DORTHANC_ENABLE_ZLIB=1) |
293 | 293 |
294 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL | 294 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL |
295 ${ORTHANC_ROOT}/Core/Compression/DeflateBaseCompressor.cpp | 295 ${ORTHANC_ROOT}/Core/Compression/DeflateBaseCompressor.cpp |
296 ${ORTHANC_ROOT}/Core/Compression/HierarchicalZipWriter.cpp | |
297 ${ORTHANC_ROOT}/Core/Compression/GzipCompressor.cpp | 296 ${ORTHANC_ROOT}/Core/Compression/GzipCompressor.cpp |
298 ${ORTHANC_ROOT}/Core/Compression/ZipWriter.cpp | |
299 ${ORTHANC_ROOT}/Core/Compression/ZlibCompressor.cpp | 297 ${ORTHANC_ROOT}/Core/Compression/ZlibCompressor.cpp |
300 ) | 298 ) |
301 | 299 |
302 if (NOT ORTHANC_SANDBOXED) | 300 if (NOT ORTHANC_SANDBOXED) |
303 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL | 301 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL |
302 ${ORTHANC_ROOT}/Core/Compression/HierarchicalZipWriter.cpp | |
303 ${ORTHANC_ROOT}/Core/Compression/ZipWriter.cpp | |
304 ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp | 304 ${ORTHANC_ROOT}/Core/FileStorage/StorageAccessor.cpp |
305 ) | |
306 | |
307 list(APPEND ORTHANC_CORE_SOURCES_DEPENDENCIES | |
308 # This is the minizip distribution to create ZIP files using zlib | |
309 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c | |
310 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c | |
305 ) | 311 ) |
306 endif() | 312 endif() |
307 endif() | 313 endif() |
308 | 314 |
309 | 315 |
558 ${ORTHANC_ROOT}/Resources/ThirdParty/md5/md5.c | 564 ${ORTHANC_ROOT}/Resources/ThirdParty/md5/md5.c |
559 ${ORTHANC_ROOT}/Resources/ThirdParty/base64/base64.cpp | 565 ${ORTHANC_ROOT}/Resources/ThirdParty/base64/base64.cpp |
560 ) | 566 ) |
561 | 567 |
562 | 568 |
563 if (ENABLE_ZLIB) | |
564 list(APPEND ORTHANC_CORE_SOURCES_DEPENDENCIES | |
565 # This is the minizip distribution to create ZIP files using zlib | |
566 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/ioapi.c | |
567 ${ORTHANC_ROOT}/Resources/ThirdParty/minizip/zip.c | |
568 ) | |
569 endif() | |
570 | |
571 | |
572 set(ORTHANC_CORE_SOURCES | 569 set(ORTHANC_CORE_SOURCES |
573 ${ORTHANC_CORE_SOURCES_INTERNAL} | 570 ${ORTHANC_CORE_SOURCES_INTERNAL} |
574 ${ORTHANC_CORE_SOURCES_DEPENDENCIES} | 571 ${ORTHANC_CORE_SOURCES_DEPENDENCIES} |
575 ) | 572 ) |
576 | 573 |