comparison Samples/Sdl/SimpleViewer/CMakeLists.txt @ 1364:dd50d0852ae2 broker

SdlSimpleViewer fixes
author Benjamin Golinvaux <bgo@osimis.io>
date Sat, 18 Apr 2020 14:35:10 +0200
parents 4287eaabe490
children dc5acb03ad93
comparison
equal deleted inserted replaced
1363:b497e1217aa5 1364:dd50d0852ae2
1 cmake_minimum_required(VERSION 2.8.3) 1 cmake_minimum_required(VERSION 2.8.3)
2 2
3 project(SdlViewer) 3 project(SdlSimpleViewer)
4
5 set(ALLOW_DOWNLOADS ON)
6
7 set(STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../)
8
9 set(STATIC_BUILD ON)
10 set(MSVC_MULTIPLE_PROCESSES ON)
11 4
12 set(ORTHANC_FRAMEWORK_SOURCE "path") 5 set(ORTHANC_FRAMEWORK_SOURCE "path")
13 set(ORTHANC_FRAMEWORK_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../../orthanc) 6 set(ORTHANC_FRAMEWORK_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../../orthanc)
7 set(STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../../../)
8
14 include(${STONE_ROOT}/Resources/CMake/OrthancStoneParameters.cmake) 9 include(${STONE_ROOT}/Resources/CMake/OrthancStoneParameters.cmake)
15 10
16 SET(ENABLE_GOOGLE_TEST OFF) 11 SET(ENABLE_GOOGLE_TEST OFF)
17 SET(ENABLE_LOCALE ON) # Necessary for text rendering 12 SET(ENABLE_LOCALE ON) # Necessary for text rendering
18 SET(ENABLE_QT OFF) 13 SET(ENABLE_QT OFF)
31 -DORTHANC_ENABLE_LOGGING_PLUGIN=0 26 -DORTHANC_ENABLE_LOGGING_PLUGIN=0
32 -DORTHANC_ENABLE_PUGIXML=0 27 -DORTHANC_ENABLE_PUGIXML=0
33 -DORTHANC_DEFAULT_DICOM_ENCODING=Encoding_Latin1 28 -DORTHANC_DEFAULT_DICOM_ENCODING=Encoding_Latin1
34 ) 29 )
35 30
36 add_executable(OrthancStone 31 add_executable(SdlSimpleViewer
37 SdlSimpleViewerApplication.h 32 SdlSimpleViewerApplication.h
38 SimpleViewer.cpp 33 SdlSimpleViewer.cpp
39 ${ORTHANC_STONE_SOURCES} 34 ${ORTHANC_STONE_SOURCES}
40 ) 35 )
41 36
42 target_link_libraries(OrthancStone ${DCMTK_LIBRARIES}) 37 target_link_libraries(SdlSimpleViewer ${DCMTK_LIBRARIES})