comparison Resources/CMake/OrthancFrameworkConfiguration.cmake @ 2536:e0e377a48626

ORTHANC_FRAMEWORK_PLUGIN
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 17 Apr 2018 14:23:25 +0200
parents ae5f98eadb75
children c53f1d015b06
comparison
equal deleted inserted replaced
2535:d3476d90dcb7 2536:e0e377a48626
479 endif() 479 endif()
480 480
481 else() 481 else()
482 add_definitions( 482 add_definitions(
483 -DORTHANC_SANDBOXED=0 483 -DORTHANC_SANDBOXED=0
484 -DORTHANC_ENABLE_LOGGING=1
485 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
486 -DORTHANC_ENABLE_LOGGING_STDIO=0 484 -DORTHANC_ENABLE_LOGGING_STDIO=0
487 ) 485 )
486
487 if (ORTHANC_FRAMEWORK_PLUGIN)
488 add_definitions(
489 -DORTHANC_ENABLE_LOGGING=1
490 -DORTHANC_ENABLE_LOGGING_PLUGIN=1
491 )
492 else()
493 add_definitions(
494 -DORTHANC_ENABLE_LOGGING=0
495 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
496 )
497 endif()
488 498
489 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL 499 list(APPEND ORTHANC_CORE_SOURCES_INTERNAL
490 ${ORTHANC_ROOT}/Core/Cache/SharedArchive.cpp 500 ${ORTHANC_ROOT}/Core/Cache/SharedArchive.cpp
491 ${ORTHANC_ROOT}/Core/FileStorage/FilesystemStorage.cpp 501 ${ORTHANC_ROOT}/Core/FileStorage/FilesystemStorage.cpp
492 ${ORTHANC_ROOT}/Core/MultiThreading/BagOfTasksProcessor.cpp 502 ${ORTHANC_ROOT}/Core/MultiThreading/BagOfTasksProcessor.cpp