comparison Samples/Sdl/RtViewer/CMakeLists.txt @ 1386:dfb48f0794b1

Ongoing splitting SDL vs WASM (preparing RtViewer WASM)
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 27 Apr 2020 16:48:19 +0200
parents 24bcff8ea58f
children 1c2d065ba372 3e644f6fadd4
comparison
equal deleted inserted replaced
1385:ffe9beb7c5d3 1386:dfb48f0794b1
29 29
30 include(${STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake) 30 include(${STONE_ROOT}/Resources/CMake/OrthancStoneConfiguration.cmake)
31 include(${STONE_ROOT}/Resources/CMake/Utilities.cmake) 31 include(${STONE_ROOT}/Resources/CMake/Utilities.cmake)
32 32
33 include_directories(${STONE_ROOT}) 33 include_directories(${STONE_ROOT})
34 include_directories(../../Common)
34 35
35 add_definitions( 36 add_definitions(
36 -DORTHANC_ENABLE_LOGGING=1 37 -DORTHANC_ENABLE_LOGGING=1
37 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 38 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
38 -DORTHANC_ENABLE_PUGIXML=0 39 -DORTHANC_ENABLE_PUGIXML=0
40 ) 41 )
41 42
42 SortFilesInSourceGroups() 43 SortFilesInSourceGroups()
43 44
44 add_executable(RtViewerSdl 45 add_executable(RtViewerSdl
46 RtViewerSdl.cpp
45 ../SdlHelpers.h 47 ../SdlHelpers.h
46 RtViewerSdl.cpp
47 ../../Common/RtViewer.cpp 48 ../../Common/RtViewer.cpp
48 ../../Common/RtViewer.h 49 ../../Common/RtViewer.h
50 ../../Common/SampleHelpers.h
49 ${ORTHANC_STONE_SOURCES} 51 ${ORTHANC_STONE_SOURCES}
50 ) 52 )
51 53
52
53 target_link_libraries(RtViewerSdl ${DCMTK_LIBRARIES}) 54 target_link_libraries(RtViewerSdl ${DCMTK_LIBRARIES})
54 55