annotate Resources/CMake/OrthancStoneConfiguration.cmake @ 1224:37bc7f115f81 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 07 Dec 2019 18:45:37 +0100
parents 9efa66d8d3f8
children 16738485e457
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
47
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
1 # Stone of Orthanc
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
3 # Department, University Hospital of Liege, Belgium
439
b70e9be013e4 preparing for 2019
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 415
diff changeset
4 # Copyright (C) 2017-2019 Osimis S.A., Belgium
47
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
5 #
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
6 # This program is free software: you can redistribute it and/or
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
7 # modify it under the terms of the GNU Affero General Public License
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
8 # as published by the Free Software Foundation, either version 3 of
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
9 # the License, or (at your option) any later version.
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
10 #
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
11 # This program is distributed in the hope that it will be useful, but
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
14 # Affero General Public License for more details.
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
15 #
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
16 # You should have received a copy of the GNU Affero General Public License
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
18
28956ed68280 agpl license
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 40
diff changeset
19
20
946377d1c992 skeleton for unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 16
diff changeset
20
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 #####################################################################
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
22 ## Configure the Orthanc Framework
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
23 #####################################################################
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
24
338
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
25 if (ENABLE_DCMTK)
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
26 set(ENABLE_LOCALE ON)
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
27 else()
542
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 511
diff changeset
28 if (NOT DEFINED ENABLE_LOCALE)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 511
diff changeset
29 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 511
diff changeset
30 endif()
338
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
31 endif()
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
32
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
33 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkConfiguration.cmake)
212
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 205
diff changeset
34 include_directories(${ORTHANC_ROOT})
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
35
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
36
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
37 #####################################################################
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
38 ## Sanity check of the configuration
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
41 if (ORTHANC_SANDBOXED)
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
42 if (ENABLE_CURL)
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
43 message(FATAL_ERROR "Cannot enable curl in sandboxed environments")
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
44 endif()
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
45
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
46 if (ENABLE_SDL)
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
47 message(FATAL_ERROR "Cannot enable SDL in sandboxed environments")
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
48 endif()
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
49
274
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
50 if (ENABLE_QT)
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
51 message(FATAL_ERROR "Cannot enable QT in sandboxed environments")
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
52 endif()
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
53
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
54 if (ENABLE_SSL)
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
55 message(FATAL_ERROR "Cannot enable SSL in sandboxed environments")
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
56 endif()
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
57 endif()
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
58
1168
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
59 if (ENABLE_OPENGL)
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
60 if (NOT ENABLE_QT AND NOT ENABLE_SDL AND NOT ENABLE_WASM)
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
61 message(FATAL_ERROR "Cannot enable OpenGL if WebAssembly, SDL and Qt are all disabled")
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
62 endif()
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
63 endif()
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
64
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
65 if (ENABLE_WASM)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
66 if (NOT ORTHANC_SANDBOXED)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
67 message(FATAL_ERROR "WebAssembly target must me configured as sandboxed")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
68 endif()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
69
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
70 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
71 message(FATAL_ERROR "WebAssembly target requires the emscripten compiler")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
72 endif()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
73
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
74 set(ENABLE_THREADS OFF)
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
75 add_definitions(-DORTHANC_ENABLE_WASM=1)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
76 else()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
77 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten" OR
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
78 CMAKE_SYSTEM_NAME STREQUAL "PNaCl" OR
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
79 CMAKE_SYSTEM_NAME STREQUAL "NaCl32" OR
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
80 CMAKE_SYSTEM_NAME STREQUAL "NaCl64")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
81 message(FATAL_ERROR "Trying to use a Web compiler for a native build")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
82 endif()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
83
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
84 set(ENABLE_THREADS ON)
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
85 add_definitions(-DORTHANC_ENABLE_WASM=0)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
86 endif()
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
87
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
88
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
89 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
90 ## Configure mandatory third-party components
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
91 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
92
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
93 SET(ORTHANC_STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..)
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
94
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
95 include(FindPkgConfig)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
96 include(${CMAKE_CURRENT_LIST_DIR}/BoostExtendedConfiguration.cmake)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
97 include(${CMAKE_CURRENT_LIST_DIR}/CairoConfiguration.cmake)
576
529c9617654b FontRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 573
diff changeset
98 include(${CMAKE_CURRENT_LIST_DIR}/FreetypeConfiguration.cmake)
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
99 include(${CMAKE_CURRENT_LIST_DIR}/PixmanConfiguration.cmake)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
100
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
101
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
102
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
103 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
104 ## Configure optional third-party components
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
105 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
106
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
107 if (NOT ORTHANC_SANDBOXED)
22
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
108 list(APPEND ORTHANC_STONE_SOURCES
38
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 36
diff changeset
109 ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancHttpConnection.cpp
22
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
110 )
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
111 endif()
22
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
112
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
113
274
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
114 if (ENABLE_SDL AND ENABLE_QT)
1028
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1004
diff changeset
115 message("SDL and QT cannot not be enabled together")
274
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
116 elseif(ENABLE_SDL)
276
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
117 message("SDL is enabled")
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
118 include(${CMAKE_CURRENT_LIST_DIR}/SdlConfiguration.cmake)
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
119 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
120 -DORTHANC_ENABLE_QT=0
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
121 -DORTHANC_ENABLE_SDL=1
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
122 )
274
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
123 elseif(ENABLE_QT)
276
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
124 message("QT is enabled")
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
125 include(${CMAKE_CURRENT_LIST_DIR}/QtConfiguration.cmake)
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
126 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
127 -DORTHANC_ENABLE_QT=1
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
128 -DORTHANC_ENABLE_SDL=0
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
129 )
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
130 else()
276
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
131 message("SDL and QT are both disabled")
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
132 unset(USE_SYSTEM_SDL CACHE)
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
133 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
134 -DORTHANC_ENABLE_SDL=0
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
135 -DORTHANC_ENABLE_QT=0
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
136 )
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
137 endif()
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
138
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
139
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
140 if (ENABLE_THREADS)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
141 add_definitions(-DORTHANC_ENABLE_THREADS=1)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
142 else()
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
143 add_definitions(-DORTHANC_ENABLE_THREADS=0)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
144 endif()
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
145
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
146
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
147 if (ENABLE_OPENGL AND CMAKE_SYSTEM_NAME STREQUAL "Windows")
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
148 include(${CMAKE_CURRENT_LIST_DIR}/GlewConfiguration.cmake)
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
149 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
150 -DORTHANC_ENABLE_GLEW=1
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
151 )
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
152 else()
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
153 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
154 -DORTHANC_ENABLE_GLEW=0
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
155 )
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
156 endif()
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
157
509
1b9973905e15 Fix to use js callbacks attached to 'window' + dummy changes in cmake files
Benjamin Golinvaux <bgo@osimis.io>
parents: 506
diff changeset
158
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
159 if (ENABLE_OPENGL)
665
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
160 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
667
e9339f2b5de7 refactoring of VolumeImage
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
161 # If including "FindOpenGL.cmake" using Emscripten (targeting
665
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
162 # WebAssembly), the "OPENGL_LIBRARIES" value incorrectly includes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
163 # the "nul" library, which leads to warning message in Emscripten:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
164 # 'shared:WARNING: emcc: cannot find library "nul"'.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
165 include(FindOpenGL)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
166 if (NOT OPENGL_FOUND)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
167 message(FATAL_ERROR "Cannot find OpenGL on your system")
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
168 endif()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
169
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
170 link_libraries(${OPENGL_LIBRARIES})
600
6129b1e5ba42 BasicScene SDL sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 597
diff changeset
171 endif()
6129b1e5ba42 BasicScene SDL sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 597
diff changeset
172
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
173 add_definitions(
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
174 -DGL_GLEXT_PROTOTYPES=1
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
175 -DORTHANC_ENABLE_OPENGL=1
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
176 )
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
177 else()
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
178 add_definitions(-DORTHANC_ENABLE_OPENGL=0)
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
179 endif()
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
180
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
181
509
1b9973905e15 Fix to use js callbacks attached to 'window' + dummy changes in cmake files
Benjamin Golinvaux <bgo@osimis.io>
parents: 506
diff changeset
182
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
183 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
184 ## Configuration of the C/C++ macros
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
185 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
186
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
187 if (MSVC)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
188 # Remove some warnings on Visual Studio 2015
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
189 add_definitions(-D_SCL_SECURE_NO_WARNINGS=1)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
190 endif()
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
191
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192 add_definitions(
31
9aace933cb64 sharing code with the Orthanc core
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 26
diff changeset
193 -DHAS_ORTHANC_EXCEPTION=1
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
194 )
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
195
267
89d02de83c03 added declaretion of messages handled/emitted
am@osimis.io
parents: 266
diff changeset
196 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
89d02de83c03 added declaretion of messages handled/emitted
am@osimis.io
parents: 266
diff changeset
197 add_definitions(-DCHECK_OBSERVERS_MESSAGES)
89d02de83c03 added declaretion of messages handled/emitted
am@osimis.io
parents: 266
diff changeset
198 endif()
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
199
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
200
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
201
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202 #####################################################################
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
203 ## Embed the colormaps into the binaries
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 EmbedResources(
256
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
207 # Resources coming from the core of Orthanc. They must be copied
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
208 # here, as HAS_EMBEDDED_RESOURCES is set to ON in
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
209 # "OrthancStoneParameters.cmake"
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
210 ${DCMTK_DICTIONARIES}
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
211
343
712acc87fa2e text layer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 338
diff changeset
212 FONT_UBUNTU_MONO_BOLD_16 ${ORTHANC_ROOT}/Resources/Fonts/UbuntuMonoBold-16.json
345
55438b1ca317 drawing borders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 343
diff changeset
213 #FONT_UBUNTU_MONO_BOLD_64 ${ORTHANC_ROOT}/Resources/Fonts/UbuntuMonoBold-64.json
343
712acc87fa2e text layer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 338
diff changeset
214
256
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
215 # Resources specific to the Stone of Orthanc
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
216 COLORMAP_HOT ${ORTHANC_STONE_ROOT}/Resources/Colormaps/hot.lut
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
217 COLORMAP_JET ${ORTHANC_STONE_ROOT}/Resources/Colormaps/jet.lut
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
218 COLORMAP_RED ${ORTHANC_STONE_ROOT}/Resources/Colormaps/red.lut
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
219 COLORMAP_GREEN ${ORTHANC_STONE_ROOT}/Resources/Colormaps/green.lut
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
220 COLORMAP_BLUE ${ORTHANC_STONE_ROOT}/Resources/Colormaps/blue.lut
511
2f17b3659781 ORTHANC_STONE_APPLICATION_RESOURCES in CMake
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 445
diff changeset
221
2f17b3659781 ORTHANC_STONE_APPLICATION_RESOURCES in CMake
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 445
diff changeset
222 # Additional resources specific to the application being built
2f17b3659781 ORTHANC_STONE_APPLICATION_RESOURCES in CMake
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 445
diff changeset
223 ${ORTHANC_STONE_APPLICATION_RESOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224 )
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
225
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
226
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
227 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
228 ## System-specific patches
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
229 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
230
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
231 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
232 NOT MSVC AND
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
233 ENABLE_SDL)
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
234 # This is necessary when compiling EXE for Windows using MinGW
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
235 link_libraries(mingw32)
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
236 endif()
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
237
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
238 if (ORTHANC_SANDBOXED)
114
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
239 # Remove functions not suitable for a sandboxed environment
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
240 list(REMOVE_ITEM ORTHANC_CORE_SOURCES
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
241 ${ZLIB_SOURCES_DIR}/gzlib.c
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
242 ${ZLIB_SOURCES_DIR}/gzwrite.c
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
243 ${ZLIB_SOURCES_DIR}/gzread.c
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
244 )
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
245 endif()
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
246
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
247
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
248
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
249 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
250 ## All the source files required to build Stone of Orthanc
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
251 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
252
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
253 if (NOT ORTHANC_SANDBOXED)
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
254 set(PLATFORM_SOURCES
251
192e6e349e69 first usage of new message system (in SDL only)
am@osimis.io
parents: 250
diff changeset
255 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceCommandBase.cpp
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
256 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceGetCommand.cpp
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
257 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServicePostCommand.cpp
315
aad37d0b6407 Added LayerWidget::RemoveLayer + DELETE commands in WebService
am@osimis.io
parents: 307
diff changeset
258 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceDeleteCommand.cpp
431
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
259 ${ORTHANC_STONE_ROOT}/Platforms/Generic/DelayedCallCommand.cpp
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
260 ${ORTHANC_STONE_ROOT}/Platforms/Generic/Oracle.cpp
431
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
261 ${ORTHANC_STONE_ROOT}/Platforms/Generic/OracleDelayedCallExecutor.h
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
262 )
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
263
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
264 if (ENABLE_SDL)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
265 list(APPEND ORTHANC_STONE_SOURCES
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
266 ${ORTHANC_STONE_ROOT}/Framework/Viewport/SdlWindow.cpp
807
c237e0625065 deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 792
diff changeset
267 )
c237e0625065 deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 792
diff changeset
268 endif()
c237e0625065 deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 792
diff changeset
269
274
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
270 if (ENABLE_SDL OR ENABLE_QT)
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
271 if (ENABLE_OPENGL)
1047
efc5b62b9539 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1028
diff changeset
272 list(APPEND ORTHANC_STONE_SOURCES
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
273 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/SdlOpenGLContext.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
274 ${ORTHANC_STONE_ROOT}/Framework/Viewport/SdlViewport.cpp
1047
efc5b62b9539 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1028
diff changeset
275 )
274
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
276 endif()
dc1beee33134 split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents: 270
diff changeset
277 endif()
295
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
278 elseif (ENABLE_WASM)
255
65562a28fe05 fixes for WASM
am@osimis.io
parents: 251
diff changeset
279 set(STONE_WASM_SOURCES
244
313903066093 cleanup
am@osimis.io
parents: 243
diff changeset
280 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/Defaults.cpp
431
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
281 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmDelayedCallExecutor.cpp
244
313903066093 cleanup
am@osimis.io
parents: 243
diff changeset
282 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmWebService.cpp
313903066093 cleanup
am@osimis.io
parents: 243
diff changeset
283 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmViewport.cpp
307
be2660b6e40a wip: commands + status update
am@osimis.io
parents: 302
diff changeset
284 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmPlatformApplicationAdapter.cpp
295
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
285 ${AUTOGENERATED_DIR}/WasmWebService.c
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
286 ${AUTOGENERATED_DIR}/default-library.c
255
65562a28fe05 fixes for WASM
am@osimis.io
parents: 251
diff changeset
287 )
295
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
288
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
289 # Regenerate a dummy "WasmWebService.c" file each time the "WasmWebService.js" file
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
290 # is modified, so as to force a new execution of the linking
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
291 add_custom_command(
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
292 OUTPUT "${AUTOGENERATED_DIR}/WasmWebService.c"
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
293 COMMAND ${CMAKE_COMMAND} -E touch "${AUTOGENERATED_DIR}/WasmWebService.c" ""
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
294 DEPENDS "${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmWebService.js")
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
295 add_custom_command(
431
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
296 OUTPUT "${AUTOGENERATED_DIR}/WasmDelayedCallExecutor.c"
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
297 COMMAND ${CMAKE_COMMAND} -E touch "${AUTOGENERATED_DIR}/WasmDelayedCallExecutor.c" ""
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
298 DEPENDS "${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmDelayedCallExecutor.js")
26b90b110719 added DelayedCallExecutor to avoid using sleep() in C++ that consumes 100% CPU once executed in WASM
am@osimis.io
parents: 430
diff changeset
299 add_custom_command(
295
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
300 OUTPUT "${AUTOGENERATED_DIR}/default-library.c"
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
301 COMMAND ${CMAKE_COMMAND} -E touch "${AUTOGENERATED_DIR}/default-library.c" ""
b04b13810540 unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents: 294
diff changeset
302 DEPENDS "${ORTHANC_STONE_ROOT}/Platforms/Wasm/default-library.js")
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
303 endif()
80
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 73
diff changeset
304
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
305 if (ENABLE_STONE_DEPRECATED)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
306 if (NOT ORTHANC_SANDBOXED)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
307 list(APPEND PLATFORM_SOURCES
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
308 ${ORTHANC_STONE_ROOT}/Platforms/Generic/OracleWebService.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
309 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/CairoFont.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
310 )
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
311 endif()
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
312
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
313 if (ENABLE_SDL OR ENABLE_WASM)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
314 list(APPEND APPLICATIONS_SOURCES
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
315 ${ORTHANC_STONE_ROOT}/Applications/Generic/GuiAdapter.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
316 ${ORTHANC_STONE_ROOT}/Applications/Generic/GuiAdapter.h
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
317 )
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
318 endif()
732
c35e98d22764 move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 708
diff changeset
319
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
320 if (ENABLE_SDL OR ENABLE_QT)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
321 list(APPEND APPLICATIONS_SOURCES
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
322 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationRunner.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
323 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationContext.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
324 )
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
325 endif()
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
326
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
327 if (ENABLE_SDL)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
328 list(APPEND APPLICATIONS_SOURCES
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
329 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlCairoSurface.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
330 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlEngine.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
331 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOrthancSurface.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
332 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlStoneApplicationRunner.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
333 )
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
334 endif()
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
335
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
336 if (ENABLE_WASM)
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
337 list(APPEND APPLICATIONS_SOURCES
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
338 ${ORTHANC_STONE_ROOT}/Applications/Wasm/StartupParametersBuilder.cpp
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
339 )
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
340 endif()
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
341
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
342 list(APPEND ORTHANC_STONE_SOURCES
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
343 ${ORTHANC_STONE_ROOT}/Applications/IStoneApplication.h
955
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
344 ${ORTHANC_STONE_ROOT}/Applications/StoneApplicationContext.cpp
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
345 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/CircleMeasureTracker.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
346 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/ColorFrameRenderer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
347 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/DicomSeriesVolumeSlicer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
348 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/DicomStructureSetSlicer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
349 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/FrameRenderer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
350 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/GrayscaleFrameRenderer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
351 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/IVolumeSlicer.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
352 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/LineLayerRenderer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
353 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/LineMeasureTracker.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
354 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/RenderStyle.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
355 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Layers/SliceOutlineRenderer.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
356 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/SmartLoader.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
357 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/BaseWebService.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
358 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/DicomFrameConverter.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
359 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/DownloadStack.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
360 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/IDelayedCallExecutor.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
361 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/IWebService.cpp
792
4fe4b221a31f deprecating MessagingToolbox
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 784
diff changeset
362 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/MessagingToolbox.cpp
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
363 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/OrthancApiClient.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
364 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/OrthancSlicesLoader.cpp
811
ffec76a5f7eb deprecating ParallelSlices
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 807
diff changeset
365 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/ParallelSlices.cpp
ffec76a5f7eb deprecating ParallelSlices
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 807
diff changeset
366 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/ParallelSlicesCursor.cpp
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
367 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/Slice.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
368 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/ViewportGeometry.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
369 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/IMouseTracker.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
370 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/IStatusBar.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
371 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/IViewport.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
372 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/WidgetViewport.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
373 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Volumes/StructureSetLoader.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
374 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/CairoWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
375 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/EmptyWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
376 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/IWidget.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
377 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/IWorldSceneInteractor.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
378 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/IWorldSceneMouseTracker.h
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
379 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/LayoutWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
380 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/PanMouseTracker.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
381 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/PanZoomMouseTracker.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
382 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/SliceViewerWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
383 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/TestCairoWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
384 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/TestWorldSceneWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
385 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/WidgetBase.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
386 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/WorldSceneWidget.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
387 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Widgets/ZoomMouseTracker.cpp
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
388 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/dev.h
955
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
389 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyAlphaLayer.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
390 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyDicomLayer.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
391 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayer.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
392 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerCropTracker.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
393 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerMaskTracker.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
394 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerMoveTracker.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
395 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerResizeTracker.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
396 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerRotateTracker.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
397 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyMaskLayer.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
398 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyScene.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
399 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographySceneCommand.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
400 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographySceneReader.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
401 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographySceneWriter.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
402 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyTextLayer.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
403 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyWidget.cpp
01d55c979698 fix link errors to deprecated stuff
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 929
diff changeset
404 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyWindowingTracker.cpp
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
405 )
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
406 endif()
732
c35e98d22764 move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 708
diff changeset
407
c35e98d22764 move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 708
diff changeset
408
1110
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
409 if (ENABLE_DCMTK)
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
410 list(APPEND ORTHANC_STONE_SOURCES
1151
48befc2bf66d ParseDicomFromWadoCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1149
diff changeset
411 ${ORTHANC_STONE_ROOT}/Framework/Oracle/ParseDicomSuccessMessage.cpp
1149
2da8b4d6f8c1 renamed ParsedDicomFileCache as ParsedDicomCache
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1135
diff changeset
412 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ParsedDicomCache.cpp
1180
9c8f557ea799 ParsedDicomDataset to speed up loading RT-STRUCT from parsed DICOM files
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1171
diff changeset
413 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ParsedDicomDataset.cpp
1110
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
414 )
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
415 endif()
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
416
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
417 if (ENABLE_THREADS)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
418 list(APPEND ORTHANC_STONE_SOURCES
1074
229ea1389845 LockingEmitter.cpp
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1067
diff changeset
419 ${ORTHANC_STONE_ROOT}/Framework/Messages/LockingEmitter.cpp
843
67f9c27214c5 Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents: 841
diff changeset
420 ${ORTHANC_STONE_ROOT}/Framework/Messages/LockingEmitter.h
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
421 ${ORTHANC_STONE_ROOT}/Framework/Oracle/ThreadedOracle.cpp
1077
d7a18a3cd6f9 IOracleRunner
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1074
diff changeset
422 ${ORTHANC_STONE_ROOT}/Framework/Oracle/GenericOracleRunner.cpp
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
423 )
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
424 endif()
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
425
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
426
825
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
427 if (ENABLE_WASM)
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
428 list(APPEND ORTHANC_STONE_SOURCES
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
429 ${ORTHANC_STONE_ROOT}/Framework/Oracle/WebAssemblyOracle.cpp
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
430 )
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
431 endif()
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
432
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
433
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
434 list(APPEND ORTHANC_STONE_SOURCES
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
435 #${ORTHANC_STONE_ROOT}/Framework/Layers/SeriesFrameRendererFactory.cpp
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
436 #${ORTHANC_STONE_ROOT}/Framework/Layers/SingleFrameRendererFactory.cpp
332
50e5ec1bdd46 separating ZoomMouseTracker and PanMouseTracker from WorldSceneWidget
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 330
diff changeset
437
784
9f3b2027a4a9 DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 775
diff changeset
438 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomDatasetReader.cpp
9f3b2027a4a9 DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 775
diff changeset
439 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomPath.cpp
1184
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1168
diff changeset
440 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomTag.cpp
784
9f3b2027a4a9 DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 775
diff changeset
441 ${ORTHANC_ROOT}/Plugins/Samples/Common/FullOrthancDataset.cpp
9f3b2027a4a9 DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 775
diff changeset
442 ${ORTHANC_ROOT}/Plugins/Samples/Common/IOrthancConnection.cpp
9f3b2027a4a9 DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 775
diff changeset
443
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
444 ${ORTHANC_STONE_ROOT}/Framework/Fonts/FontRenderer.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
445 ${ORTHANC_STONE_ROOT}/Framework/Fonts/Glyph.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
446 ${ORTHANC_STONE_ROOT}/Framework/Fonts/GlyphAlphabet.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
447 ${ORTHANC_STONE_ROOT}/Framework/Fonts/GlyphBitmapAlphabet.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
448 ${ORTHANC_STONE_ROOT}/Framework/Fonts/GlyphTextureAlphabet.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
449 ${ORTHANC_STONE_ROOT}/Framework/Fonts/TextBoundingBox.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
450
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
451 ${ORTHANC_STONE_ROOT}/Framework/Loaders/BasicFetchingItemsSorter.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
452 ${ORTHANC_STONE_ROOT}/Framework/Loaders/BasicFetchingItemsSorter.h
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
453 ${ORTHANC_STONE_ROOT}/Framework/Loaders/BasicFetchingStrategy.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
454 ${ORTHANC_STONE_ROOT}/Framework/Loaders/BasicFetchingStrategy.h
815
df442f1ba0c6 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 814
diff changeset
455 ${ORTHANC_STONE_ROOT}/Framework/Loaders/DicomStructureSetLoader.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
456 ${ORTHANC_STONE_ROOT}/Framework/Loaders/DicomStructureSetLoader.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
457 ${ORTHANC_STONE_ROOT}/Framework/Loaders/DicomStructureSetLoader2.cpp
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
458 ${ORTHANC_STONE_ROOT}/Framework/Loaders/DicomStructureSetLoader2.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
459 ${ORTHANC_STONE_ROOT}/Framework/Loaders/IFetchingItemsSorter.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
460 ${ORTHANC_STONE_ROOT}/Framework/Loaders/IFetchingStrategy.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
461 ${ORTHANC_STONE_ROOT}/Framework/Loaders/LoaderCache.cpp
929
408bcc6c1505 Added Loader cache. Not activated yet.
Benjamin Golinvaux <bgo@osimis.io>
parents: 911
diff changeset
462 ${ORTHANC_STONE_ROOT}/Framework/Loaders/LoaderCache.h
815
df442f1ba0c6 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 814
diff changeset
463 ${ORTHANC_STONE_ROOT}/Framework/Loaders/LoaderStateMachine.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
464 ${ORTHANC_STONE_ROOT}/Framework/Loaders/LoaderStateMachine.h
815
df442f1ba0c6 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 814
diff changeset
465 ${ORTHANC_STONE_ROOT}/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
466 ${ORTHANC_STONE_ROOT}/Framework/Loaders/OrthancMultiframeVolumeLoader.h
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
467 ${ORTHANC_STONE_ROOT}/Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
468 ${ORTHANC_STONE_ROOT}/Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
469
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
470 ${ORTHANC_STONE_ROOT}/Framework/Messages/ICallable.h
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
471 ${ORTHANC_STONE_ROOT}/Framework/Messages/IMessage.h
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
472 ${ORTHANC_STONE_ROOT}/Framework/Messages/IObservable.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
473 ${ORTHANC_STONE_ROOT}/Framework/Messages/IObserver.h
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
474 ${ORTHANC_STONE_ROOT}/Framework/Oracle/GetOrthancImageCommand.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
475 ${ORTHANC_STONE_ROOT}/Framework/Oracle/GetOrthancWebViewerJpegCommand.cpp
1135
a0a33e5ea5bb IOracleCommand::Clone()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1128
diff changeset
476 ${ORTHANC_STONE_ROOT}/Framework/Oracle/HttpCommand.cpp
1128
8e3763d1736a removing CustomOracleCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1116
diff changeset
477 ${ORTHANC_STONE_ROOT}/Framework/Oracle/OracleCommandBase.cpp
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
478 ${ORTHANC_STONE_ROOT}/Framework/Oracle/OrthancRestApiCommand.cpp
1155
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1151
diff changeset
479 ${ORTHANC_STONE_ROOT}/Framework/Oracle/ParseDicomFromFileCommand.cpp
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1151
diff changeset
480 ${ORTHANC_STONE_ROOT}/Framework/Oracle/ParseDicomFromWadoCommand.cpp
597
9e51fb773bbd CairoCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 596
diff changeset
481 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/CairoCompositor.cpp
590
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
482 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/ColorTextureSceneLayer.cpp
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
483 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/FloatTextureSceneLayer.cpp
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
484 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/GrayscaleStyleConfigurator.cpp
905
88bf49aebc13 introduced ICompositor and allow SdlViewport to work with a CairoCompositor (to run on machines without OpenGL drivers)
Alain Mazy <alain@mazy.be>
parents: 891
diff changeset
485 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/ICompositor.h
590
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
486 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/InfoPanelSceneLayer.cpp
597
9e51fb773bbd CairoCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 596
diff changeset
487 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoColorTextureRenderer.cpp
9e51fb773bbd CairoCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 596
diff changeset
488 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoFloatTextureRenderer.cpp
9e51fb773bbd CairoCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 596
diff changeset
489 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoInfoPanelRenderer.cpp
768
55411e7da2f7 LookupTableTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 755
diff changeset
490 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoLookupTableTextureRenderer.cpp
595
6e471e6cf09b CairoPolylineRenderer, SdlOpenGLWindow
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 594
diff changeset
491 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoPolylineRenderer.cpp
597
9e51fb773bbd CairoCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 596
diff changeset
492 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoTextRenderer.cpp
593
6bf8f881fcb5 OpenGLBasicPolylineRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 592
diff changeset
493 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CompositorHelper.cpp
596
b716763571ad IPointerTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 595
diff changeset
494 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/FixedPointAligner.cpp
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
495 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/LookupTableStyleConfigurator.cpp
768
55411e7da2f7 LookupTableTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 755
diff changeset
496 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/LookupTableTextureSceneLayer.cpp
596
b716763571ad IPointerTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 595
diff changeset
497 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/PanSceneTracker.cpp
b716763571ad IPointerTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 595
diff changeset
498 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/PointerEvent.cpp
590
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
499 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/PolylineSceneLayer.cpp
596
b716763571ad IPointerTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 595
diff changeset
500 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/RotateSceneTracker.cpp
590
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
501 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Scene2D.cpp
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
502 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/TextSceneLayer.cpp
5430bcffba57 FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 588
diff changeset
503 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/TextureBaseSceneLayer.cpp
596
b716763571ad IPointerTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 595
diff changeset
504 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/ZoomSceneTracker.cpp
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
505 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/AngleMeasureTool.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
506 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/AngleMeasureTool.h
774
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
507 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateAngleMeasureCommand.cpp
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
508 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateAngleMeasureCommand.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
509 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateAngleMeasureTracker.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
510 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateAngleMeasureTracker.h
774
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
511 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateCircleMeasureCommand.cpp
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
512 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateCircleMeasureCommand.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
513 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateCircleMeasureTracker.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
514 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateCircleMeasureTracker.h
774
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
515 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateLineMeasureCommand.cpp
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
516 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateLineMeasureCommand.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
517 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateLineMeasureTracker.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
518 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateLineMeasureTracker.h
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
519 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateMeasureTracker.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
520 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateMeasureTracker.h
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
521 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/CreateSimpleTrackerAdapter.cpp
866
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
522 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditAngleMeasureCommand.cpp
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
523 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditAngleMeasureCommand.h
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
524 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditAngleMeasureTracker.cpp
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
525 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditAngleMeasureTracker.h
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
526 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditLineMeasureCommand.cpp
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
527 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditLineMeasureCommand.h
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
528 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditLineMeasureTracker.cpp
c71ef52602a0 Added the ability to edit existing measuring tools (demo not updated yet)
Benjamin Golinvaux <bgo@osimis.io>
parents: 859
diff changeset
529 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/EditLineMeasureTracker.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
530 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/IFlexiblePointerTracker.h
751
712ff6ff3c19 - undo redo now works fine for both measure tool creation commands
Benjamin Golinvaux <bgo@osimis.io>
parents: 708
diff changeset
531 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/LayerHolder.cpp
712ff6ff3c19 - undo redo now works fine for both measure tool creation commands
Benjamin Golinvaux <bgo@osimis.io>
parents: 708
diff changeset
532 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/LayerHolder.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
533 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/LineMeasureTool.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
534 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/LineMeasureTool.h
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
535 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureCommands.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
536 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureCommands.h
774
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
537 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureTool.cpp
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
538 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureTool.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
539 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureToolsToolbox.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
540 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureToolsToolbox.h
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
541 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureTrackers.cpp
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
542 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/MeasureTrackers.h
700
059e1fd05fd6 Introduced the ViewportController that sits between the application and the
Benjamin Golinvaux <bgo@osimis.io>
parents: 699
diff changeset
543 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/OneGesturePointerTracker.cpp
059e1fd05fd6 Introduced the ViewportController that sits between the application and the
Benjamin Golinvaux <bgo@osimis.io>
parents: 699
diff changeset
544 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/OneGesturePointerTracker.h
818
e42b491f1fb2 Removed typedefs to shared_ptr by making them explicit. Removed using namespace
Benjamin Golinvaux <bgo@osimis.io>
parents: 815
diff changeset
545 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/PredeclaredTypes.h
858
e3c56d4f863f GuiAdapter : mouse event routing in SDL + split the undo stack from the
Benjamin Golinvaux <bgo@osimis.io>
parents: 843
diff changeset
546 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/UndoStack.cpp
e3c56d4f863f GuiAdapter : mouse event routing in SDL + split the undo stack from the
Benjamin Golinvaux <bgo@osimis.io>
parents: 843
diff changeset
547 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/UndoStack.h
698
8b6adfb62a2f Code is broken -- stashing ongoing work in a branch
Benjamin Golinvaux <bgo@osimis.io>
parents: 616
diff changeset
548 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/ViewportController.cpp
774
66ac7a2d1e3a A few renames and cleanups + moved GUI constants to controller + start work on
Benjamin Golinvaux <bgo@osimis.io>
parents: 755
diff changeset
549 ${ORTHANC_STONE_ROOT}/Framework/Scene2DViewport/ViewportController.h
332
50e5ec1bdd46 separating ZoomMouseTracker and PanMouseTracker from WorldSceneWidget
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 330
diff changeset
550 ${ORTHANC_STONE_ROOT}/Framework/StoneEnumerations.cpp
50e5ec1bdd46 separating ZoomMouseTracker and PanMouseTracker from WorldSceneWidget
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 330
diff changeset
551 ${ORTHANC_STONE_ROOT}/Framework/StoneException.h
610
0c4c0693b97c OrthancStone::StoneInitialize()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 600
diff changeset
552 ${ORTHANC_STONE_ROOT}/Framework/StoneInitialization.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
553
409
99c9b3238008 AffineTransform2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 408
diff changeset
554 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/AffineTransform2D.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
555 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/AffineTransform2D.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
556 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/CoordinateSystem3D.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
557 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/CoordinateSystem3D.h
746
d716bfb3e07c reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 745
diff changeset
558 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomInstanceParameters.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
559 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomInstanceParameters.h
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
560 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructure2.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
561 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructure2.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
562 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructurePolygon2.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
563 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructurePolygon2.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
564 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSet.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
565 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSet.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
566 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSet2.cpp
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
567 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSet2.h
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
568 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSetUtils.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
569 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSetUtils.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
570 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DisjointDataSet.h
576
529c9617654b FontRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 573
diff changeset
571 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DynamicBitmap.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
572 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DynamicBitmap.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
573 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/Extent2D.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
574 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/Extent2D.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
575 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/FiniteProjectiveCamera.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
576 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/FiniteProjectiveCamera.h
1116
a08699daf78b ParsedDicomFileCache
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1110
diff changeset
577 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/GenericToolbox.cpp
a08699daf78b ParsedDicomFileCache
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1110
diff changeset
578 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/GenericToolbox.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
579 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/GeometryToolbox.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
580 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/GeometryToolbox.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
581 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ImageGeometry.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
582 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ImageGeometry.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
583 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/LinearAlgebra.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
584 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/LinearAlgebra.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
585 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ShearWarpProjectiveTransform.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
586 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ShearWarpProjectiveTransform.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
587 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/SlicesSorter.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
588 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/SlicesSorter.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
589 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/SubpixelReader.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
590 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/SubvoxelReader.h
1085
63539e826355 Added TextRenderer
Alain Mazy <alain@mazy.be>
parents: 1080
diff changeset
591 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/TextRenderer.cpp
63539e826355 Added TextRenderer
Alain Mazy <alain@mazy.be>
parents: 1080
diff changeset
592 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/TextRenderer.h
409
99c9b3238008 AffineTransform2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 408
diff changeset
593 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/UndoRedoStack.cpp
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
594 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/UndoRedoStack.h
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
595
1071
6dd90b8d1589 Fixes related to refactorings in viewports.
Benjamin Golinvaux <bgo@osimis.io>
parents: 1057
diff changeset
596 ${ORTHANC_STONE_ROOT}/Framework/Viewport/IViewport.h
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
597
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
598 ${ORTHANC_STONE_ROOT}/Framework/Volumes/IVolumeSlicer.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
599 ${ORTHANC_STONE_ROOT}/Framework/Volumes/IVolumeSlicer.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
600 ${ORTHANC_STONE_ROOT}/Framework/Volumes/OrientedVolumeBoundingBox.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
601 ${ORTHANC_STONE_ROOT}/Framework/Volumes/OrientedVolumeBoundingBox.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
602 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeImageGeometry.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
603 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeImageGeometry.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
604 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeReslicer.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
605 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeReslicer.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
606 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeSceneLayerSource.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
607 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeSceneLayerSource.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
608 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomStructureSetSlicer2.cpp
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
609 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomStructureSetSlicer2.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
610 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImage.h
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
611 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImage.cpp
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
612 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImage.h
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
613 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
614 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImageMPRSlicer.h
815
df442f1ba0c6 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 814
diff changeset
615 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImageReslicer.cpp
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
616 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImageReslicer.h
215
07792a582de9 fix path
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 214
diff changeset
617 ${ORTHANC_STONE_ROOT}/Framework/Volumes/ImageBuffer3D.cpp
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
618 ${ORTHANC_STONE_ROOT}/Framework/Volumes/ImageBuffer3D.h
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
619
814
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
620 ${ORTHANC_STONE_ROOT}/Framework/Wrappers/CairoContext.cpp
aead999345e0 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 811
diff changeset
621 ${ORTHANC_STONE_ROOT}/Framework/Wrappers/CairoSurface.cpp
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
622
80
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 73
diff changeset
623 ${PLATFORM_SOURCES}
145
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 140
diff changeset
624 ${APPLICATIONS_SOURCES}
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
625 ${ORTHANC_CORE_SOURCES}
256
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
626 ${ORTHANC_DICOM_SOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
627 ${AUTOGENERATED_SOURCES}
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
628
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
629 # Mandatory components
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
630 ${CAIRO_SOURCES}
576
529c9617654b FontRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 573
diff changeset
631 ${FREETYPE_SOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
632 ${PIXMAN_SOURCES}
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
633
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
634 # Optional components
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
635 ${SDL_SOURCES}
276
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
636 ${QT_SOURCES}
145
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 140
diff changeset
637 ${BOOST_EXTENDED_SOURCES}
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
638 ${GLEW_SOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
639 )
221
d7b2590744f8 wip: building applications reusable in SDL and WASM
am@osimis.io
parents: 215
diff changeset
640
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
641
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
642 if (ENABLE_OPENGL)
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
643 list(APPEND ORTHANC_STONE_SOURCES
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
644 ${ORTHANC_STONE_ROOT}/Framework/Fonts/OpenGLTextCoordinates.h
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
645 ${ORTHANC_STONE_ROOT}/Framework/Fonts/OpenGLTextCoordinates.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
646 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLProgram.h
579
fadacfbf5538 OpenGL programs and textures
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 578
diff changeset
647 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLProgram.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
648 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLShader.h
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
649 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLShader.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
650 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLTexture.h
579
fadacfbf5538 OpenGL programs and textures
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 578
diff changeset
651 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLTexture.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
652 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/OpenGLCompositor.h
594
9807ed3d3e03 OpenGLCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 593
diff changeset
653 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/OpenGLCompositor.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
654 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLAdvancedPolylineRenderer.h
594
9807ed3d3e03 OpenGLCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 593
diff changeset
655 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLAdvancedPolylineRenderer.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
656 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLBasicPolylineRenderer.h
593
6bf8f881fcb5 OpenGLBasicPolylineRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 592
diff changeset
657 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLBasicPolylineRenderer.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
658 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLColorTextureProgram.h
592
bbe29efd3d1c OpenGLLinesProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 591
diff changeset
659 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLColorTextureProgram.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
660 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLColorTextureRenderer.h
594
9807ed3d3e03 OpenGLCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 593
diff changeset
661 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLColorTextureRenderer.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
662 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLFloatTextureProgram.h
591
b66ced2c43d4 OpenGLTextureProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 590
diff changeset
663 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLFloatTextureProgram.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
664 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLFloatTextureRenderer.h
594
9807ed3d3e03 OpenGLCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 593
diff changeset
665 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLFloatTextureRenderer.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
666 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLInfoPanelRenderer.h
594
9807ed3d3e03 OpenGLCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 593
diff changeset
667 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLInfoPanelRenderer.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
668 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLLinesProgram.h
592
bbe29efd3d1c OpenGLLinesProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 591
diff changeset
669 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLLinesProgram.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
670 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLLookupTableTextureRenderer.h
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
671 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLLookupTableTextureRenderer.cpp
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
672 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextProgram.h
592
bbe29efd3d1c OpenGLLinesProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 591
diff changeset
673 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextProgram.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
674 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextRenderer.h
594
9807ed3d3e03 OpenGLCompositor
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 593
diff changeset
675 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextRenderer.cpp
841
266e2b0b9abc better error reporting in DicomStructureSetLoader + fixed POST request logic
Benjamin Golinvaux <bgo@osimis.io>
parents: 825
diff changeset
676 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextureProgram.h
591
b66ced2c43d4 OpenGLTextureProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 590
diff changeset
677 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextureProgram.cpp
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
678 )
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
679
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
680 if (ENABLE_WASM)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
681 list(APPEND ORTHANC_STONE_SOURCES
1071
6dd90b8d1589 Fixes related to refactorings in viewports.
Benjamin Golinvaux <bgo@osimis.io>
parents: 1057
diff changeset
682 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/WebAssemblyOpenGLContext.h
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
683 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/WebAssemblyOpenGLContext.cpp
1071
6dd90b8d1589 Fixes related to refactorings in viewports.
Benjamin Golinvaux <bgo@osimis.io>
parents: 1057
diff changeset
684 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.h
891
0aff28f15ea2 new abstraction: IViewport
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 866
diff changeset
685 ${ORTHANC_STONE_ROOT}/Framework/Viewport/WebAssemblyViewport.cpp
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
686 )
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
687 endif()
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
688 endif()
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
689
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
690
413
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
691 ##
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
692 ## TEST - Automatically add all ".h" headers to the list of sources
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
693 ##
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
694
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
695 macro(AutodetectHeaderFiles SOURCES_VAR)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
696 set(TMP)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
697
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
698 foreach(f IN LISTS ${SOURCES_VAR})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
699 get_filename_component(_base ${f} NAME_WE)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
700 get_filename_component(_dir ${f} DIRECTORY)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
701 get_filename_component(_extension ${f} EXT)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
702 set(_header ${_dir}/${_base}.h)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
703
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
704 if ((_extension STREQUAL ".cpp" OR
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
705 _extension STREQUAL ".cc" OR
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
706 _extension STREQUAL ".h") AND
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
707 EXISTS ${_header} AND
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
708 NOT IS_DIRECTORY ${_header} AND
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
709 NOT IS_SYMLINK ${_header})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
710
414
f7616c010056 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 413
diff changeset
711 # Prevent adding the header twice if it is already manually
f7616c010056 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 413
diff changeset
712 # specified in the sources
413
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
713 list (FIND SOURCES_VAR ${_header} _index)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
714 if (${_index} EQUAL -1)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
715 list(APPEND TMP ${_header})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
716 endif()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
717 endif()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
718 endforeach()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
719
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
720 list(APPEND ${SOURCES_VAR} ${TMP})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
721 endmacro()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
722
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
723
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
724 AutodetectHeaderFiles(ORTHANC_STONE_SOURCES)