comparison Resources/CMake/OrthancStoneConfiguration.cmake @ 1410:b2b0fc4a5596

Added ENABLE_GUIADAPTER option + fixed include paths in GuiAdapter
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 04 May 2020 13:34:21 +0200
parents 5630c2fb7b0f
children 30deba7bc8e2
comparison
equal deleted inserted replaced
1406:5d7ee14dc1eb 1410:b2b0fc4a5596
284 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyCairoViewport.cpp 284 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyCairoViewport.cpp
285 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.cpp 285 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.cpp
286 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.h 286 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.h
287 ) 287 )
288 endif() 288 endif()
289
290 if ( (ENABLE_SDL OR ENABLE_WASM) AND ENABLE_GUIADAPTER )
291 list(APPEND APPLICATIONS_SOURCES
292 ${ORTHANC_STONE_ROOT}/Deprecated/Applications/Generic/GuiAdapter.cpp
293 ${ORTHANC_STONE_ROOT}/Deprecated/Applications/Generic/GuiAdapter.h
294 )
295 include_directories(${ORTHANC_STONE_ROOT}/Deprecated)
296 endif()
297
289 298
290 list(APPEND ORTHANC_STONE_SOURCES 299 list(APPEND ORTHANC_STONE_SOURCES
291 300
292 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomDatasetReader.cpp 301 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomDatasetReader.cpp
293 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomPath.cpp 302 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomPath.cpp
593 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebGLViewportsRegistry.cpp 602 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebGLViewportsRegistry.cpp
594 ) 603 )
595 endif() 604 endif()
596 endif() 605 endif()
597 606
598
599 ## 607 ##
600 ## TEST - Automatically add all ".h" headers to the list of sources 608 ## TEST - Automatically add all ".h" headers to the list of sources
601 ## 609 ##
602 610
603 macro(AutodetectHeaderFiles SOURCES_VAR) 611 macro(AutodetectHeaderFiles SOURCES_VAR)