Mercurial > hg > orthanc-stone
comparison Applications/Samples/CMakeLists.txt @ 527:b1377625e4ba bgo-commands-codegen
Removed ICommand and friends + fixed warnings + added missing header files in
solution (in CMakeLists.txt file)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sun, 17 Mar 2019 20:14:20 +0100 |
parents | 700aa66f2f29 |
children | d4046c7f284d |
comparison
equal
deleted
inserted
replaced
522:700aa66f2f29 | 527:b1377625e4ba |
---|---|
5 | 5 |
6 cmake_minimum_required(VERSION 2.8.3) | 6 cmake_minimum_required(VERSION 2.8.3) |
7 project(OrthancStone) | 7 project(OrthancStone) |
8 | 8 |
9 include(../../Resources/CMake/OrthancStoneParameters.cmake) | 9 include(../../Resources/CMake/OrthancStoneParameters.cmake) |
10 | |
11 if (OPENSSL_NO_CAPIENG) | |
12 add_definitions(-DOPENSSL_NO_CAPIENG=1) | |
13 endif() | |
14 | |
15 if (BGO_USE_NEW_COMMANDS) | |
16 add_definitions(-DBGO_USE_NEW_COMMANDS=1) | |
17 endif() | |
10 | 18 |
11 #set(ENABLE_DCMTK ON) | 19 #set(ENABLE_DCMTK ON) |
12 | 20 |
13 set(ENABLE_SDL OFF CACHE BOOL "Target SDL Native application") | 21 set(ENABLE_SDL OFF CACHE BOOL "Target SDL Native application") |
14 set(ENABLE_QT OFF CACHE BOOL "Target Qt Native application") | 22 set(ENABLE_QT OFF CACHE BOOL "Target Qt Native application") |
179 | 187 |
180 elseif (ENABLE_WASM) | 188 elseif (ENABLE_WASM) |
181 list(APPEND SIMPLE_VIEWER_APPLICATION_SOURCES | 189 list(APPEND SIMPLE_VIEWER_APPLICATION_SOURCES |
182 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Wasm/mainWasm.cpp | 190 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Wasm/mainWasm.cpp |
183 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Wasm/SimpleViewerWasmApplicationAdapter.cpp | 191 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Wasm/SimpleViewerWasmApplicationAdapter.cpp |
192 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Wasm/SimpleViewerWasmApplicationAdapter.h | |
184 ${STONE_WASM_SOURCES} | 193 ${STONE_WASM_SOURCES} |
185 ) | 194 ) |
186 endif() | 195 endif() |
187 | 196 |
188 add_executable(OrthancStoneSimpleViewer | 197 add_executable(OrthancStoneSimpleViewer |
198 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/AppStatus.h | |
199 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/MainWidgetInteractor.cpp | |
200 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/MainWidgetInteractor.h | |
201 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Messages.h | |
189 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/SimpleViewerApplication.cpp | 202 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/SimpleViewerApplication.cpp |
203 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/SimpleViewerApplication.h | |
190 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/ThumbnailInteractor.cpp | 204 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/ThumbnailInteractor.cpp |
191 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/MainWidgetInteractor.cpp | 205 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/ThumbnailInteractor.h |
192 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/AppStatus.h | |
193 ${ORTHANC_STONE_ROOT}/Applications/Samples/SimpleViewer/Messages.h | |
194 ${SIMPLE_VIEWER_APPLICATION_SOURCES} | 206 ${SIMPLE_VIEWER_APPLICATION_SOURCES} |
195 ) | 207 ) |
196 target_link_libraries(OrthancStoneSimpleViewer OrthancStone) | 208 target_link_libraries(OrthancStoneSimpleViewer OrthancStone) |
197 | 209 |
198 endif() | 210 endif() |