Mercurial > hg > orthanc-stone
annotate Resources/CMake/OrthancStoneConfiguration.cmake @ 869:60a403f01c31 toa2019062503
Fixed WARN --> WARNING (unsure how this builds fine under Windows...)
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 25 Jun 2019 18:04:54 +0200 |
parents | c71ef52602a0 |
children | 9953f16c304d 0aff28f15ea2 |
rev | line source |
---|---|
47 | 1 # Stone of Orthanc |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
439 | 4 # Copyright (C) 2017-2019 Osimis S.A., Belgium |
47 | 5 # |
6 # This program is free software: you can redistribute it and/or | |
7 # modify it under the terms of the GNU Affero General Public License | |
8 # as published by the Free Software Foundation, either version 3 of | |
9 # the License, or (at your option) any later version. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, but | |
12 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 # Affero General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU Affero General Public License | |
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | |
19 | |
20
946377d1c992
skeleton for unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
16
diff
changeset
|
20 |
0 | 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 | 25 if (ENABLE_DCMTK) |
26 set(ENABLE_LOCALE ON) | |
27 else() | |
542 | 28 if (NOT DEFINED ENABLE_LOCALE) |
29 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost) | |
30 endif() | |
338 | 31 endif() |
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 | 39 ##################################################################### |
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 |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
59 if (ENABLE_WASM) |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
60 if (NOT ORTHANC_SANDBOXED) |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
61 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
|
62 endif() |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
63 |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
64 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten") |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
65 message(FATAL_ERROR "WebAssembly target requires the emscripten compiler") |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
66 endif() |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
67 |
749 | 68 set(ENABLE_THREADS OFF) |
616
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
69 add_definitions(-DORTHANC_ENABLE_WASM=1) |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
70 else() |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
71 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten" OR |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
72 CMAKE_SYSTEM_NAME STREQUAL "PNaCl" OR |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
73 CMAKE_SYSTEM_NAME STREQUAL "NaCl32" OR |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
74 CMAKE_SYSTEM_NAME STREQUAL "NaCl64") |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
75 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
|
76 endif() |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
77 |
749 | 78 set(ENABLE_THREADS ON) |
616
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
79 add_definitions(-DORTHANC_ENABLE_WASM=0) |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
80 endif() |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
81 |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
82 |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
83 ##################################################################### |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
84 ## Configure mandatory third-party components |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
85 ##################################################################### |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
86 |
215 | 87 SET(ORTHANC_STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..) |
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 include(FindPkgConfig) |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
90 include(${CMAKE_CURRENT_LIST_DIR}/BoostExtendedConfiguration.cmake) |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
91 include(${CMAKE_CURRENT_LIST_DIR}/CairoConfiguration.cmake) |
576 | 92 include(${CMAKE_CURRENT_LIST_DIR}/FreetypeConfiguration.cmake) |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
93 include(${CMAKE_CURRENT_LIST_DIR}/PixmanConfiguration.cmake) |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
94 |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
95 |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
96 |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
97 ##################################################################### |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
98 ## Configure optional third-party components |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
99 ##################################################################### |
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 if (NOT ORTHANC_SANDBOXED) |
22
b01d46e5a2b3
support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
21
diff
changeset
|
102 list(APPEND ORTHANC_STONE_SOURCES |
38 | 103 ${ORTHANC_ROOT}/Plugins/Samples/Common/OrthancHttpConnection.cpp |
22
b01d46e5a2b3
support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
21
diff
changeset
|
104 ) |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
105 endif() |
22
b01d46e5a2b3
support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
21
diff
changeset
|
106 |
b01d46e5a2b3
support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
21
diff
changeset
|
107 |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
108 if (ENABLE_SDL AND ENABLE_QT) |
276
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
109 message("SDL and QT may not be defined together") |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
110 elseif(ENABLE_SDL) |
276
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
111 message("SDL is enabled") |
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
112 include(${CMAKE_CURRENT_LIST_DIR}/SdlConfiguration.cmake) |
613
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
113 add_definitions( |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
114 -DORTHANC_ENABLE_QT=0 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
115 -DORTHANC_ENABLE_SDL=1 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
116 ) |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
117 elseif(ENABLE_QT) |
276
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
118 message("QT is enabled") |
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
119 include(${CMAKE_CURRENT_LIST_DIR}/QtConfiguration.cmake) |
613
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
120 add_definitions( |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
121 -DORTHANC_ENABLE_QT=1 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
122 -DORTHANC_ENABLE_SDL=0 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
123 ) |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
124 else() |
276
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
125 message("SDL and QT are both disabled") |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
126 unset(USE_SYSTEM_SDL CACHE) |
613
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
127 add_definitions( |
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 -DORTHANC_ENABLE_QT=0 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
130 ) |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
131 endif() |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
132 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
133 |
749 | 134 if (ENABLE_THREADS) |
135 add_definitions(-DORTHANC_ENABLE_THREADS=1) | |
136 else() | |
137 add_definitions(-DORTHANC_ENABLE_THREADS=0) | |
138 endif() | |
139 | |
140 | |
613
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
141 if (ENABLE_OPENGL AND CMAKE_SYSTEM_NAME STREQUAL "Windows") |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
142 include(${CMAKE_CURRENT_LIST_DIR}/GlewConfiguration.cmake) |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
143 add_definitions( |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
144 -DORTHANC_ENABLE_GLEW=1 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
145 ) |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
146 else() |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
147 add_definitions( |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
148 -DORTHANC_ENABLE_GLEW=0 |
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
149 ) |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
150 endif() |
0 | 151 |
509
1b9973905e15
Fix to use js callbacks attached to 'window' + dummy changes in cmake files
Benjamin Golinvaux <bgo@osimis.io>
parents:
506
diff
changeset
|
152 |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
153 if (ENABLE_OPENGL) |
665 | 154 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten") |
667
e9339f2b5de7
refactoring of VolumeImage
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
665
diff
changeset
|
155 # If including "FindOpenGL.cmake" using Emscripten (targeting |
665 | 156 # WebAssembly), the "OPENGL_LIBRARIES" value incorrectly includes |
157 # the "nul" library, which leads to warning message in Emscripten: | |
158 # 'shared:WARNING: emcc: cannot find library "nul"'. | |
159 include(FindOpenGL) | |
160 if (NOT OPENGL_FOUND) | |
161 message(FATAL_ERROR "Cannot find OpenGL on your system") | |
162 endif() | |
163 | |
164 link_libraries(${OPENGL_LIBRARIES}) | |
600
6129b1e5ba42
BasicScene SDL sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
597
diff
changeset
|
165 endif() |
6129b1e5ba42
BasicScene SDL sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
597
diff
changeset
|
166 |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
167 add_definitions( |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
168 -DGL_GLEXT_PROTOTYPES=1 |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
169 -DORTHANC_ENABLE_OPENGL=1 |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
170 ) |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
171 else() |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
172 add_definitions(-DORTHANC_ENABLE_OPENGL=0) |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
173 endif() |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
174 |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
175 |
509
1b9973905e15
Fix to use js callbacks attached to 'window' + dummy changes in cmake files
Benjamin Golinvaux <bgo@osimis.io>
parents:
506
diff
changeset
|
176 |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
177 ##################################################################### |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
178 ## Configuration of the C/C++ macros |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
179 ##################################################################### |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
180 |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
181 if (MSVC) |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
182 # Remove some warnings on Visual Studio 2015 |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
183 add_definitions(-D_SCL_SECURE_NO_WARNINGS=1) |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
184 endif() |
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
185 |
0 | 186 add_definitions( |
31
9aace933cb64
sharing code with the Orthanc core
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
26
diff
changeset
|
187 -DHAS_ORTHANC_EXCEPTION=1 |
0 | 188 ) |
189 | |
267 | 190 if (CMAKE_BUILD_TYPE STREQUAL "Debug") |
191 add_definitions(-DCHECK_OBSERVERS_MESSAGES) | |
192 endif() | |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
193 |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
194 |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
195 |
0 | 196 ##################################################################### |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
197 ## Embed the colormaps into the binaries |
0 | 198 ##################################################################### |
199 | |
200 EmbedResources( | |
256
86ccff58f344
fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
215
diff
changeset
|
201 # 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
|
202 # 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
|
203 # "OrthancStoneParameters.cmake" |
86ccff58f344
fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
215
diff
changeset
|
204 ${DCMTK_DICTIONARIES} |
86ccff58f344
fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
215
diff
changeset
|
205 |
343 | 206 FONT_UBUNTU_MONO_BOLD_16 ${ORTHANC_ROOT}/Resources/Fonts/UbuntuMonoBold-16.json |
345 | 207 #FONT_UBUNTU_MONO_BOLD_64 ${ORTHANC_ROOT}/Resources/Fonts/UbuntuMonoBold-64.json |
343 | 208 |
256
86ccff58f344
fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
215
diff
changeset
|
209 # Resources specific to the Stone of Orthanc |
215 | 210 COLORMAP_HOT ${ORTHANC_STONE_ROOT}/Resources/Colormaps/hot.lut |
211 COLORMAP_JET ${ORTHANC_STONE_ROOT}/Resources/Colormaps/jet.lut | |
212 COLORMAP_RED ${ORTHANC_STONE_ROOT}/Resources/Colormaps/red.lut | |
213 COLORMAP_GREEN ${ORTHANC_STONE_ROOT}/Resources/Colormaps/green.lut | |
214 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
|
215 |
2f17b3659781
ORTHANC_STONE_APPLICATION_RESOURCES in CMake
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
445
diff
changeset
|
216 # 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
|
217 ${ORTHANC_STONE_APPLICATION_RESOURCES} |
0 | 218 ) |
219 | |
220 | |
221 ##################################################################### | |
222 ## System-specific patches | |
223 ##################################################################### | |
224 | |
225 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND | |
226 NOT MSVC AND | |
227 ENABLE_SDL) | |
228 # This is necessary when compiling EXE for Windows using MinGW | |
229 link_libraries(mingw32) | |
230 endif() | |
231 | |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
232 if (ORTHANC_SANDBOXED) |
114
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
233 # Remove functions not suitable for a sandboxed environment |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
234 list(REMOVE_ITEM ORTHANC_CORE_SOURCES |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
235 ${ZLIB_SOURCES_DIR}/gzlib.c |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
236 ${ZLIB_SOURCES_DIR}/gzwrite.c |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
237 ${ZLIB_SOURCES_DIR}/gzread.c |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
238 ) |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
239 endif() |
3541fc81331a
starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
113
diff
changeset
|
240 |
0 | 241 |
242 | |
243 ##################################################################### | |
244 ## All the source files required to build Stone of Orthanc | |
245 ##################################################################### | |
246 | |
221
d7b2590744f8
wip: building applications reusable in SDL and WASM
am@osimis.io
parents:
215
diff
changeset
|
247 set(APPLICATIONS_SOURCES |
288 | 248 ${ORTHANC_STONE_ROOT}/Applications/IStoneApplication.h |
249 ${ORTHANC_STONE_ROOT}/Applications/StoneApplicationContext.cpp | |
221
d7b2590744f8
wip: building applications reusable in SDL and WASM
am@osimis.io
parents:
215
diff
changeset
|
250 ) |
d7b2590744f8
wip: building applications reusable in SDL and WASM
am@osimis.io
parents:
215
diff
changeset
|
251 |
115
f598ffb81cda
fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
114
diff
changeset
|
252 if (NOT ORTHANC_SANDBOXED) |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
253 set(PLATFORM_SOURCES |
251
192e6e349e69
first usage of new message system (in SDL only)
am@osimis.io
parents:
250
diff
changeset
|
254 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceCommandBase.cpp |
215 | 255 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServiceGetCommand.cpp |
256 ${ORTHANC_STONE_ROOT}/Platforms/Generic/WebServicePostCommand.cpp | |
315
aad37d0b6407
Added LayerWidget::RemoveLayer + DELETE commands in WebService
am@osimis.io
parents:
307
diff
changeset
|
257 ${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
|
258 ${ORTHANC_STONE_ROOT}/Platforms/Generic/DelayedCallCommand.cpp |
215 | 259 ${ORTHANC_STONE_ROOT}/Platforms/Generic/Oracle.cpp |
434
3a8bcc45c221
moved the HTTP cache from OrthancApiClient to BaseWebService (not implemented yet in WASM)
am@osimis.io
parents:
431
diff
changeset
|
260 ${ORTHANC_STONE_ROOT}/Platforms/Generic/OracleWebService.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 |
807
c237e0625065
deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
792
diff
changeset
|
264 if (ENABLE_STONE_DEPRECATED) |
c237e0625065
deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
792
diff
changeset
|
265 list(APPEND PLATFORM_SOURCES |
c237e0625065
deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
792
diff
changeset
|
266 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Viewport/CairoFont.cpp |
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) |
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
271 list(APPEND APPLICATIONS_SOURCES |
291 | 272 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationRunner.cpp |
273 ${ORTHANC_STONE_ROOT}/Applications/Generic/NativeStoneApplicationContext.cpp | |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
274 ) |
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
275 if (ENABLE_SDL) |
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
276 list(APPEND APPLICATIONS_SOURCES |
595
6e471e6cf09b
CairoPolylineRenderer, SdlOpenGLWindow
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
594
diff
changeset
|
277 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlCairoSurface.cpp |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
278 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlEngine.cpp |
595
6e471e6cf09b
CairoPolylineRenderer, SdlOpenGLWindow
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
594
diff
changeset
|
279 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOpenGLWindow.cpp |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
280 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlOrthancSurface.cpp |
595
6e471e6cf09b
CairoPolylineRenderer, SdlOpenGLWindow
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
594
diff
changeset
|
281 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlStoneApplicationRunner.cpp |
274
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
282 ${ORTHANC_STONE_ROOT}/Applications/Sdl/SdlWindow.cpp |
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
283 ) |
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
284 endif() |
dc1beee33134
split SdlApplication into NativeApplication and SdlApplication
am@osimis.io
parents:
270
diff
changeset
|
285 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
|
286 elseif (ENABLE_WASM) |
221
d7b2590744f8
wip: building applications reusable in SDL and WASM
am@osimis.io
parents:
215
diff
changeset
|
287 list(APPEND APPLICATIONS_SOURCES |
242 | 288 ${ORTHANC_STONE_ROOT}/Applications/Wasm/StartupParametersBuilder.cpp |
255 | 289 ) |
290 | |
291 set(STONE_WASM_SOURCES | |
244 | 292 ${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
|
293 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmDelayedCallExecutor.cpp |
244 | 294 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmWebService.cpp |
295 ${ORTHANC_STONE_ROOT}/Platforms/Wasm/WasmViewport.cpp | |
307 | 296 ${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
|
297 ${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
|
298 ${AUTOGENERATED_DIR}/default-library.c |
255 | 299 ) |
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 |
b04b13810540
unified CMakeLists.txt into a single file for WASM/Native + bootstrap Command (to rework) + doc
am@osimis.io
parents:
294
diff
changeset
|
301 # 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
|
302 # 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
|
303 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
|
304 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
|
305 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
|
306 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
|
307 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
|
308 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
|
309 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
|
310 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
|
311 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
|
312 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
|
313 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
|
314 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
|
315 endif() |
80 | 316 |
843
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
317 if (ENABLE_SDL OR ENABLE_WASM) |
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
318 list(APPEND APPLICATIONS_SOURCES |
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
319 ${ORTHANC_STONE_ROOT}/Applications/Generic/GuiAdapter.cpp |
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
320 ${ORTHANC_STONE_ROOT}/Applications/Generic/GuiAdapter.h |
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
321 ) |
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
322 endif() |
732
c35e98d22764
move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
708
diff
changeset
|
323 |
740
31487d066d1d
new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
737
diff
changeset
|
324 if (ENABLE_STONE_DEPRECATED) |
31487d066d1d
new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
737
diff
changeset
|
325 list(APPEND ORTHANC_STONE_SOURCES |
31487d066d1d
new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
737
diff
changeset
|
326 ${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
|
327 ${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
|
328 ${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
|
329 ${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
|
330 ${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
|
331 ${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
|
332 ${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
|
333 ${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
|
334 ${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
|
335 ${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
|
336 ${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
|
337 ${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
|
338 ${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
|
339 ${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
|
340 ${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
|
341 ${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
|
342 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/IWebService.cpp |
792
4fe4b221a31f
deprecating MessagingToolbox
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
784
diff
changeset
|
343 ${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
|
344 ${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
|
345 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/OrthancSlicesLoader.cpp |
811
ffec76a5f7eb
deprecating ParallelSlices
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
807
diff
changeset
|
346 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/Toolbox/ParallelSlices.cpp |
ffec76a5f7eb
deprecating ParallelSlices
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
807
diff
changeset
|
347 ${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
|
348 ${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
|
349 ${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
|
350 ${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
|
351 ${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
|
352 ${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
|
353 ${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
|
354 ${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
|
355 ${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
|
356 ${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
|
357 ${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
|
358 ${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
|
359 ${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
|
360 ${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
|
361 ${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
|
362 ${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
|
363 ${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
|
364 ${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
|
365 ${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
|
366 ${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
|
367 ${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
|
368 ${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
|
369 ${ORTHANC_STONE_ROOT}/Framework/Deprecated/dev.h |
31487d066d1d
new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
737
diff
changeset
|
370 ) |
31487d066d1d
new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
737
diff
changeset
|
371 endif() |
732
c35e98d22764
move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
708
diff
changeset
|
372 |
c35e98d22764
move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
708
diff
changeset
|
373 |
749 | 374 if (ENABLE_THREADS) |
375 list(APPEND ORTHANC_STONE_SOURCES | |
843
67f9c27214c5
Removed extra logging + doc + added GuiAdapter and LockingEmitter
Benjamin Golinvaux <bgo@osimis.io>
parents:
841
diff
changeset
|
376 ${ORTHANC_STONE_ROOT}/Framework/Messages/LockingEmitter.h |
749 | 377 ${ORTHANC_STONE_ROOT}/Framework/Oracle/ThreadedOracle.cpp |
378 ) | |
379 endif() | |
380 | |
381 | |
825 | 382 if (ENABLE_WASM) |
383 list(APPEND ORTHANC_STONE_SOURCES | |
384 ${ORTHANC_STONE_ROOT}/Framework/Oracle/WebAssemblyOracle.cpp | |
385 ) | |
386 endif() | |
387 | |
388 | |
0 | 389 list(APPEND ORTHANC_STONE_SOURCES |
215 | 390 #${ORTHANC_STONE_ROOT}/Framework/Layers/SeriesFrameRendererFactory.cpp |
391 #${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
|
392 |
784
9f3b2027a4a9
DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
775
diff
changeset
|
393 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomDatasetReader.cpp |
9f3b2027a4a9
DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
775
diff
changeset
|
394 ${ORTHANC_ROOT}/Plugins/Samples/Common/DicomPath.cpp |
9f3b2027a4a9
DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
775
diff
changeset
|
395 ${ORTHANC_ROOT}/Plugins/Samples/Common/FullOrthancDataset.cpp |
9f3b2027a4a9
DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
775
diff
changeset
|
396 ${ORTHANC_ROOT}/Plugins/Samples/Common/IOrthancConnection.cpp |
9f3b2027a4a9
DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
775
diff
changeset
|
397 |
814 | 398 ${ORTHANC_STONE_ROOT}/Framework/Fonts/FontRenderer.cpp |
399 ${ORTHANC_STONE_ROOT}/Framework/Fonts/Glyph.cpp | |
400 ${ORTHANC_STONE_ROOT}/Framework/Fonts/GlyphAlphabet.cpp | |
401 ${ORTHANC_STONE_ROOT}/Framework/Fonts/GlyphBitmapAlphabet.cpp | |
402 ${ORTHANC_STONE_ROOT}/Framework/Fonts/GlyphTextureAlphabet.cpp | |
403 ${ORTHANC_STONE_ROOT}/Framework/Fonts/TextBoundingBox.cpp | |
404 ${ORTHANC_STONE_ROOT}/Framework/Loaders/BasicFetchingItemsSorter.cpp | |
405 ${ORTHANC_STONE_ROOT}/Framework/Loaders/BasicFetchingStrategy.cpp | |
815 | 406 ${ORTHANC_STONE_ROOT}/Framework/Loaders/DicomStructureSetLoader.cpp |
407 ${ORTHANC_STONE_ROOT}/Framework/Loaders/LoaderStateMachine.cpp | |
408 ${ORTHANC_STONE_ROOT}/Framework/Loaders/OrthancMultiframeVolumeLoader.cpp | |
814 | 409 ${ORTHANC_STONE_ROOT}/Framework/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp |
410 ${ORTHANC_STONE_ROOT}/Framework/Messages/ICallable.h | |
411 ${ORTHANC_STONE_ROOT}/Framework/Messages/IMessage.h | |
412 ${ORTHANC_STONE_ROOT}/Framework/Messages/IObservable.cpp | |
413 ${ORTHANC_STONE_ROOT}/Framework/Messages/IObserver.h | |
414 ${ORTHANC_STONE_ROOT}/Framework/Messages/MessageBroker.h | |
415 ${ORTHANC_STONE_ROOT}/Framework/Messages/MessageForwarder.cpp | |
416 ${ORTHANC_STONE_ROOT}/Framework/Messages/Promise.h | |
417 ${ORTHANC_STONE_ROOT}/Framework/Oracle/GetOrthancImageCommand.cpp | |
418 ${ORTHANC_STONE_ROOT}/Framework/Oracle/GetOrthancWebViewerJpegCommand.cpp | |
419 ${ORTHANC_STONE_ROOT}/Framework/Oracle/OracleCommandWithPayload.cpp | |
420 ${ORTHANC_STONE_ROOT}/Framework/Oracle/OrthancRestApiCommand.cpp | |
421 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyAlphaLayer.cpp | |
422 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyDicomLayer.cpp | |
423 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayer.cpp | |
424 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerCropTracker.cpp | |
425 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerMaskTracker.cpp | |
426 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerMoveTracker.cpp | |
427 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerResizeTracker.cpp | |
428 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyLayerRotateTracker.cpp | |
429 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyMaskLayer.cpp | |
430 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyScene.cpp | |
431 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographySceneCommand.cpp | |
432 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographySceneReader.cpp | |
433 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographySceneWriter.cpp | |
434 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyTextLayer.cpp | |
435 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyWidget.cpp | |
436 ${ORTHANC_STONE_ROOT}/Framework/Radiography/RadiographyWindowingTracker.cpp | |
597 | 437 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/CairoCompositor.cpp |
590
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
438 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/ColorTextureSceneLayer.cpp |
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
439 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/FloatTextureSceneLayer.cpp |
814 | 440 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/GrayscaleStyleConfigurator.cpp |
590
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
441 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/InfoPanelSceneLayer.cpp |
597 | 442 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoColorTextureRenderer.cpp |
443 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoFloatTextureRenderer.cpp | |
444 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoInfoPanelRenderer.cpp | |
768
55411e7da2f7
LookupTableTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
755
diff
changeset
|
445 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoLookupTableTextureRenderer.cpp |
595
6e471e6cf09b
CairoPolylineRenderer, SdlOpenGLWindow
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
594
diff
changeset
|
446 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoPolylineRenderer.cpp |
597 | 447 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CairoTextRenderer.cpp |
593
6bf8f881fcb5
OpenGLBasicPolylineRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
592
diff
changeset
|
448 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/CompositorHelper.cpp |
596 | 449 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/FixedPointAligner.cpp |
814 | 450 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/LookupTableStyleConfigurator.cpp |
768
55411e7da2f7
LookupTableTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
755
diff
changeset
|
451 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/LookupTableTextureSceneLayer.cpp |
596 | 452 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/PanSceneTracker.cpp |
453 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/PointerEvent.cpp | |
590
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
454 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/PolylineSceneLayer.cpp |
596 | 455 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/RotateSceneTracker.cpp |
590
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
456 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Scene2D.cpp |
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
457 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/TextSceneLayer.cpp |
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
458 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/TextureBaseSceneLayer.cpp |
596 | 459 ${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
|
460 ${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
|
461 ${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
|
462 ${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
|
463 ${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
|
464 ${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
|
465 ${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
|
466 ${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
|
467 ${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
|
468 ${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
|
469 ${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
|
470 ${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
|
471 ${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
|
472 ${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
|
473 ${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
|
474 ${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
|
475 ${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
|
476 ${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
|
477 ${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
|
478 ${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
|
479 ${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
|
480 ${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
|
481 ${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
|
482 ${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
|
483 ${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
|
484 ${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
|
485 ${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
|
486 ${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
|
487 ${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
|
488 ${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
|
489 ${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
|
490 ${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
|
491 ${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
|
492 ${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
|
493 ${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
|
494 ${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
|
495 ${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
|
496 ${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
|
497 ${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
|
498 ${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
|
499 ${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
|
500 ${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
|
501 ${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
|
502 ${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
|
503 ${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
|
504 ${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
|
505 ${ORTHANC_STONE_ROOT}/Framework/StoneEnumerations.cpp |
50e5ec1bdd46
separating ZoomMouseTracker and PanMouseTracker from WorldSceneWidget
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
330
diff
changeset
|
506 ${ORTHANC_STONE_ROOT}/Framework/StoneException.h |
610
0c4c0693b97c
OrthancStone::StoneInitialize()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
600
diff
changeset
|
507 ${ORTHANC_STONE_ROOT}/Framework/StoneInitialization.cpp |
409 | 508 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/AffineTransform2D.cpp |
215 | 509 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/CoordinateSystem3D.cpp |
746 | 510 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomInstanceParameters.cpp |
215 | 511 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DicomStructureSet.cpp |
576 | 512 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/DynamicBitmap.cpp |
215 | 513 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/Extent2D.cpp |
514 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/FiniteProjectiveCamera.cpp | |
515 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/GeometryToolbox.cpp | |
516 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ImageGeometry.cpp | |
517 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/LinearAlgebra.cpp | |
518 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/ShearWarpProjectiveTransform.cpp | |
519 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/SlicesSorter.cpp | |
409 | 520 ${ORTHANC_STONE_ROOT}/Framework/Toolbox/UndoRedoStack.cpp |
814 | 521 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImage.cpp |
522 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImageMPRSlicer.cpp | |
815 | 523 ${ORTHANC_STONE_ROOT}/Framework/Volumes/DicomVolumeImageReslicer.cpp |
814 | 524 ${ORTHANC_STONE_ROOT}/Framework/Volumes/IVolumeSlicer.cpp |
215 | 525 ${ORTHANC_STONE_ROOT}/Framework/Volumes/ImageBuffer3D.cpp |
742
fa5febe0f0c2
moved OrientedBoundingBox in the Volumes folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
740
diff
changeset
|
526 ${ORTHANC_STONE_ROOT}/Framework/Volumes/OrientedVolumeBoundingBox.cpp |
fa5febe0f0c2
moved OrientedBoundingBox in the Volumes folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
740
diff
changeset
|
527 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeImageGeometry.cpp |
215 | 528 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeReslicer.cpp |
815 | 529 ${ORTHANC_STONE_ROOT}/Framework/Volumes/VolumeSceneLayerSource.cpp |
814 | 530 ${ORTHANC_STONE_ROOT}/Framework/Wrappers/CairoContext.cpp |
531 ${ORTHANC_STONE_ROOT}/Framework/Wrappers/CairoSurface.cpp | |
0 | 532 |
80 | 533 ${PLATFORM_SOURCES} |
145 | 534 ${APPLICATIONS_SOURCES} |
113
2eca030792aa
using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
111
diff
changeset
|
535 ${ORTHANC_CORE_SOURCES} |
256
86ccff58f344
fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
215
diff
changeset
|
536 ${ORTHANC_DICOM_SOURCES} |
0 | 537 ${AUTOGENERATED_SOURCES} |
538 | |
539 # Mandatory components | |
540 ${CAIRO_SOURCES} | |
576 | 541 ${FREETYPE_SOURCES} |
0 | 542 ${PIXMAN_SOURCES} |
543 | |
544 # Optional components | |
545 ${SDL_SOURCES} | |
276
5de5699ad570
first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents:
274
diff
changeset
|
546 ${QT_SOURCES} |
145 | 547 ${BOOST_EXTENDED_SOURCES} |
613
412a2d01a189
automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
610
diff
changeset
|
548 ${GLEW_SOURCES} |
0 | 549 ) |
221
d7b2590744f8
wip: building applications reusable in SDL and WASM
am@osimis.io
parents:
215
diff
changeset
|
550 |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
551 |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
552 if (ENABLE_OPENGL) |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
553 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
|
554 ${ORTHANC_STONE_ROOT}/Framework/Fonts/OpenGLTextCoordinates.h |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
555 ${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
|
556 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLProgram.h |
579
fadacfbf5538
OpenGL programs and textures
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
578
diff
changeset
|
557 ${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
|
558 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLShader.h |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
559 ${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
|
560 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/OpenGLTexture.h |
579
fadacfbf5538
OpenGL programs and textures
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
578
diff
changeset
|
561 ${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
|
562 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/OpenGLCompositor.h |
594 | 563 ${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
|
564 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLAdvancedPolylineRenderer.h |
594 | 565 ${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
|
566 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLBasicPolylineRenderer.h |
593
6bf8f881fcb5
OpenGLBasicPolylineRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
592
diff
changeset
|
567 ${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
|
568 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLColorTextureProgram.h |
592 | 569 ${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
|
570 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLColorTextureRenderer.h |
594 | 571 ${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
|
572 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLFloatTextureProgram.h |
591
b66ced2c43d4
OpenGLTextureProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
590
diff
changeset
|
573 ${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
|
574 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLFloatTextureRenderer.h |
594 | 575 ${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
|
576 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLInfoPanelRenderer.h |
594 | 577 ${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
|
578 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLLinesProgram.h |
592 | 579 ${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
|
580 ${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
|
581 ${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
|
582 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextProgram.h |
592 | 583 ${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
|
584 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextRenderer.h |
594 | 585 ${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
|
586 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextureProgram.h |
591
b66ced2c43d4
OpenGLTextureProgram
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
590
diff
changeset
|
587 ${ORTHANC_STONE_ROOT}/Framework/Scene2D/Internals/OpenGLTextureProgram.cpp |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
588 ) |
616
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
589 |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
590 if (ENABLE_WASM) |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
591 list(APPEND ORTHANC_STONE_SOURCES |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
592 ${ORTHANC_STONE_ROOT}/Framework/OpenGL/WebAssemblyOpenGLContext.cpp |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
593 ) |
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
594 endif() |
578
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
595 endif() |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
596 |
21fd70df3fc9
starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
577
diff
changeset
|
597 |
413 | 598 |
599 ## | |
600 ## TEST - Automatically add all ".h" headers to the list of sources | |
601 ## | |
602 | |
603 macro(AutodetectHeaderFiles SOURCES_VAR) | |
604 set(TMP) | |
605 | |
606 foreach(f IN LISTS ${SOURCES_VAR}) | |
607 get_filename_component(_base ${f} NAME_WE) | |
608 get_filename_component(_dir ${f} DIRECTORY) | |
609 get_filename_component(_extension ${f} EXT) | |
610 set(_header ${_dir}/${_base}.h) | |
611 | |
612 if ((_extension STREQUAL ".cpp" OR | |
613 _extension STREQUAL ".cc" OR | |
614 _extension STREQUAL ".h") AND | |
615 EXISTS ${_header} AND | |
616 NOT IS_DIRECTORY ${_header} AND | |
617 NOT IS_SYMLINK ${_header}) | |
618 | |
414 | 619 # Prevent adding the header twice if it is already manually |
620 # specified in the sources | |
413 | 621 list (FIND SOURCES_VAR ${_header} _index) |
622 if (${_index} EQUAL -1) | |
623 list(APPEND TMP ${_header}) | |
624 endif() | |
625 endif() | |
626 endforeach() | |
627 | |
628 list(APPEND ${SOURCES_VAR} ${TMP}) | |
629 endmacro() | |
630 | |
631 | |
632 AutodetectHeaderFiles(ORTHANC_STONE_SOURCES) |