annotate OrthancStone/Resources/CMake/OrthancStoneConfiguration.cmake @ 1589:8c5f9864545f

adding missing headers
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 22 Oct 2020 16:59:23 +0200
parents bd180f97c734
children 5887a4f8594b
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
1270
2d8ab34c8c91 upgrade to year 2020
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1184
diff changeset
4 # Copyright (C) 2017-2020 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
1509
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
25 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system")
1546
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
26 # DCMTK and curl are necessarily enabled if using Orthanc framework:
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
27 # "DownloadOrthancFramework.cmake" must be aware of this fact
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
28 set(ENABLE_DCMTK ON)
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
29 set(ENABLE_WEB_CLIENT ON)
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
30
1509
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
31 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/DownloadOrthancFramework.cmake)
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
32 link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES})
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
33
1546
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
34 set(ENABLE_LOCALE ON)
94750ef63ad5 support of Orthanc framework shared library
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1541
diff changeset
35
338
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
36 else()
1509
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
37 if (ENABLE_DCMTK)
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
38 set(ENABLE_LOCALE ON)
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
39 else()
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
40 if (NOT DEFINED ENABLE_LOCALE)
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
41 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost)
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
42 endif()
542
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 511
diff changeset
43 endif()
1509
b7210c688ca7 linking SDL samples against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1504
diff changeset
44
1530
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1512
diff changeset
45 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1512
diff changeset
46 include_directories(${ORTHANC_FRAMEWORK_ROOT})
338
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
47 endif()
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 332
diff changeset
48
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
49
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
50 #####################################################################
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
51 ## Sanity check of the configuration
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
54 if (ORTHANC_SANDBOXED)
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
55 if (ENABLE_CURL)
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
56 message(FATAL_ERROR "Cannot enable curl in sandboxed environments")
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
57 endif()
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
58
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
59 if (ENABLE_SDL)
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
60 message(FATAL_ERROR "Cannot enable SDL in sandboxed environments")
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
61 endif()
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
62
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
63 if (ENABLE_SSL)
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
64 message(FATAL_ERROR "Cannot enable SSL in sandboxed environments")
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
65 endif()
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
66 endif()
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
67
1168
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
68 if (ENABLE_OPENGL)
1397
1c2d065ba372 cleanup
Alain Mazy <alain@mazy.be>
parents: 1396
diff changeset
69 if (NOT ENABLE_SDL AND NOT ENABLE_WASM)
1c2d065ba372 cleanup
Alain Mazy <alain@mazy.be>
parents: 1396
diff changeset
70 message(FATAL_ERROR "Cannot enable OpenGL if WebAssembly and SDL are both disabled")
1168
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
71 endif()
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
72 endif()
f2951ac074bd allow compiling unit tests with sdl
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1085
diff changeset
73
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
74 if (ENABLE_WASM)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
75 if (NOT ORTHANC_SANDBOXED)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
76 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
77 endif()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
78
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
79 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
80 message(FATAL_ERROR "WebAssembly target requires the emscripten compiler")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
81 endif()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
82
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
83 set(ENABLE_THREADS OFF)
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
84 set(ENABLE_WEB_CLIENT OFF)
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
85 add_definitions(-DORTHANC_ENABLE_WASM=1)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
86 else()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
87 if (CMAKE_SYSTEM_NAME STREQUAL "Emscripten" OR
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
88 CMAKE_SYSTEM_NAME STREQUAL "PNaCl" OR
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
89 CMAKE_SYSTEM_NAME STREQUAL "NaCl32" OR
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
90 CMAKE_SYSTEM_NAME STREQUAL "NaCl64")
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
91 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
92 endif()
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
93
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
94 set(ENABLE_THREADS ON)
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
95 add_definitions(-DORTHANC_ENABLE_WASM=0)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
96 endif()
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
97
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
98
115
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 ## Configure mandatory third-party components
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 include(FindPkgConfig)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
104 include(${CMAKE_CURRENT_LIST_DIR}/CairoConfiguration.cmake)
576
529c9617654b FontRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 573
diff changeset
105 include(${CMAKE_CURRENT_LIST_DIR}/FreetypeConfiguration.cmake)
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
106 include(${CMAKE_CURRENT_LIST_DIR}/PixmanConfiguration.cmake)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
107
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
108
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
109
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
110 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
111 ## Configure optional third-party components
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
112 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
113
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
114 if (ENABLE_WEB_CLIENT)
22
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
115 list(APPEND ORTHANC_STONE_SOURCES
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
116 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OrthancDatasets/OrthancHttpConnection.cpp
22
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
117 )
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
118 endif()
22
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
119
b01d46e5a2b3 support for sandboxed environments
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 21
diff changeset
120
1397
1c2d065ba372 cleanup
Alain Mazy <alain@mazy.be>
parents: 1396
diff changeset
121 if(ENABLE_SDL)
276
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
122 message("SDL is enabled")
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
123 include(${CMAKE_CURRENT_LIST_DIR}/SdlConfiguration.cmake)
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
124 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
125 -DORTHANC_ENABLE_SDL=1
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
126 )
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
127 else()
1397
1c2d065ba372 cleanup
Alain Mazy <alain@mazy.be>
parents: 1396
diff changeset
128 message("SDL is disabled")
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
129 unset(USE_SYSTEM_SDL CACHE)
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
130 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
131 -DORTHANC_ENABLE_SDL=0
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 endif()
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
134
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
135
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
136 if (ENABLE_THREADS)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
137 add_definitions(-DORTHANC_ENABLE_THREADS=1)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
138 else()
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
139 add_definitions(-DORTHANC_ENABLE_THREADS=0)
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
140 endif()
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
141
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
142
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
143 if (ENABLE_OPENGL AND CMAKE_SYSTEM_NAME STREQUAL "Windows")
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
144 include(${CMAKE_CURRENT_LIST_DIR}/GlewConfiguration.cmake)
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
145 add_definitions(
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
146 -DORTHANC_ENABLE_GLEW=1
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
147 )
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
148 else()
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=0
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
151 )
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
152 endif()
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
153
509
1b9973905e15 Fix to use js callbacks attached to 'window' + dummy changes in cmake files
Benjamin Golinvaux <bgo@osimis.io>
parents: 506
diff changeset
154
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
155 if (ENABLE_OPENGL)
665
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
156 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Emscripten")
667
e9339f2b5de7 refactoring of VolumeImage
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 665
diff changeset
157 # If including "FindOpenGL.cmake" using Emscripten (targeting
665
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
158 # WebAssembly), the "OPENGL_LIBRARIES" value incorrectly includes
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
159 # the "nul" library, which leads to warning message in Emscripten:
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
160 # 'shared:WARNING: emcc: cannot find library "nul"'.
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
161 include(FindOpenGL)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
162 if (NOT OPENGL_FOUND)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
163 message(FATAL_ERROR "Cannot find OpenGL on your system")
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
164 endif()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
165
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
166 link_libraries(${OPENGL_LIBRARIES})
600
6129b1e5ba42 BasicScene SDL sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 597
diff changeset
167 endif()
6129b1e5ba42 BasicScene SDL sample
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 597
diff changeset
168
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
169 add_definitions(
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
170 -DORTHANC_ENABLE_OPENGL=1
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
171 )
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
172 else()
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
173 add_definitions(-DORTHANC_ENABLE_OPENGL=0)
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
174 endif()
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
175
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
176
509
1b9973905e15 Fix to use js callbacks attached to 'window' + dummy changes in cmake files
Benjamin Golinvaux <bgo@osimis.io>
parents: 506
diff changeset
177
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
178 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
179 ## Configuration of the C/C++ macros
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
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
182 if (MSVC)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
183 # Remove some warnings on Visual Studio 2015
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
184 add_definitions(-D_SCL_SECURE_NO_WARNINGS=1)
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
185 endif()
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
186
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
187 add_definitions(
31
9aace933cb64 sharing code with the Orthanc core
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 26
diff changeset
188 -DHAS_ORTHANC_EXCEPTION=1
1531
d3cafeef07bb fix for new interface of Orthanc::ParsedDicomFile::ExtractDicomSummary()
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1530
diff changeset
189 -DORTHANC_STONE_MAX_TAG_LENGTH=256
1549
a48ae10857b1 packaging of the WebAssembly module
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1546
diff changeset
190 -DORTHANC_BUILDING_STONE_LIBRARY=1
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
191 )
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
192
267
89d02de83c03 added declaretion of messages handled/emitted
am@osimis.io
parents: 266
diff changeset
193 if (CMAKE_BUILD_TYPE STREQUAL "Debug")
89d02de83c03 added declaretion of messages handled/emitted
am@osimis.io
parents: 266
diff changeset
194 add_definitions(-DCHECK_OBSERVERS_MESSAGES)
89d02de83c03 added declaretion of messages handled/emitted
am@osimis.io
parents: 266
diff changeset
195 endif()
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
196
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
197
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
198
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
199 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
200 ## System-specific patches
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
201 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
202
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
203 if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows" AND
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
204 NOT MSVC AND
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
205 ENABLE_SDL)
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
206 # This is necessary when compiling EXE for Windows using MinGW
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
207 link_libraries(mingw32)
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
208 endif()
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
209
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 114
diff changeset
210 if (ORTHANC_SANDBOXED)
114
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
211 # Remove functions not suitable for a sandboxed environment
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
212 list(REMOVE_ITEM ORTHANC_CORE_SOURCES
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
213 ${ZLIB_SOURCES_DIR}/gzlib.c
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
214 ${ZLIB_SOURCES_DIR}/gzwrite.c
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
215 ${ZLIB_SOURCES_DIR}/gzread.c
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
216 )
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
217 endif()
3541fc81331a starting WebAssembly
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 113
diff changeset
218
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
219
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
220
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
221 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
222 ## All the source files required to build Stone of Orthanc
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
223 #####################################################################
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
224
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
225 if (ENABLE_SDL)
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
226 list(APPEND ORTHANC_STONE_SOURCES
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
227 ${ORTHANC_STONE_ROOT}/Sources/Viewport/SdlWindow.cpp
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
228 ${ORTHANC_STONE_ROOT}/Sources/Viewport/SdlWindow.h
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
229 )
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
230
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
231 if (ENABLE_OPENGL)
1198
4cc997207d8a fix compatibility between SDL and DCMTK
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1186
diff changeset
232 list(APPEND ORTHANC_STONE_SOURCES
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
233 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/SdlOpenGLContext.cpp
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
234 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/SdlOpenGLContext.h
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
235 ${ORTHANC_STONE_ROOT}/Sources/Viewport/SdlViewport.cpp
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
236 ${ORTHANC_STONE_ROOT}/Sources/Viewport/SdlViewport.h
807
c237e0625065 deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 792
diff changeset
237 )
c237e0625065 deprecating CairoFont
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 792
diff changeset
238 endif()
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 737
diff changeset
239 endif()
732
c35e98d22764 move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 708
diff changeset
240
c35e98d22764 move Deprecated classes to a separate folder
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 708
diff changeset
241
1110
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
242 if (ENABLE_DCMTK)
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
243 list(APPEND ORTHANC_STONE_SOURCES
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
244 ${ORTHANC_STONE_ROOT}/Sources/Oracle/ParseDicomSuccessMessage.cpp
1571
85e117739eca cppcheck
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1569
diff changeset
245 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OrthancDatasets/SimplifiedOrthancDataset.cpp
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
246 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ParsedDicomCache.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
247 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ParsedDicomDataset.cpp
1110
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
248 )
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
249 endif()
b82b74d13830 ParseDicomFileCommand
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1089
diff changeset
250
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
251
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
252 if (NOT ORTHANC_SANDBOXED AND ENABLE_THREADS AND ENABLE_WEB_CLIENT)
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
253 list(APPEND ORTHANC_STONE_SOURCES
1541
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
254 ${ORTHANC_STONE_ROOT}/Sources/Loaders/GenericLoadersContext.cpp
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
255 ${ORTHANC_STONE_ROOT}/Sources/Loaders/GenericLoadersContext.h
ae17c8c8838f standalone compilation of unit tests
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1533
diff changeset
256 ${ORTHANC_STONE_ROOT}/Sources/Oracle/GenericOracleRunner.cpp
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
257 ${ORTHANC_STONE_ROOT}/Sources/Oracle/ThreadedOracle.cpp
749
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
258 )
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
259 endif()
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
260
f3a7092ed10e fix wasm build
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 748
diff changeset
261
825
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
262 if (ENABLE_WASM)
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
263 list(APPEND ORTHANC_STONE_SOURCES
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
264 ${ORTHANC_STONE_ROOT}/Sources/Loaders/WebAssemblyLoadersContext.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
265 ${ORTHANC_STONE_ROOT}/Sources/Oracle/WebAssemblyOracle.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
266 ${ORTHANC_STONE_ROOT}/Sources/Viewport/WebAssemblyCairoViewport.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
267 ${ORTHANC_STONE_ROOT}/Sources/Viewport/WebAssemblyViewport.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
268 ${ORTHANC_STONE_ROOT}/Sources/Viewport/WebAssemblyViewport.h
825
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
269 )
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
270 endif()
9a6c7a5dcb76 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 818
diff changeset
271
1410
b2b0fc4a5596 Added ENABLE_GUIADAPTER option + fixed include paths in GuiAdapter
Benjamin Golinvaux <bgo@osimis.io>
parents: 1403
diff changeset
272
1584
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
273 if (ENABLE_PUGIXML)
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
274 list(APPEND ORTHANC_STONE_SOURCES
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
275 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/AngleAnnotation.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
276 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/Annotation.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
277 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/ArrayValue.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
278 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/CollectionOfAnnotations.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
279 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/DictionaryValue.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
280 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/IValue.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
281 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/LineAnnotation.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
282 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/StringValue.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
283 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OsiriX/TextAnnotation.cpp
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
284 )
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
285 endif()
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
286
bd180f97c734 parsing osirix annotations
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1571
diff changeset
287
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
288 list(APPEND ORTHANC_STONE_SOURCES
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
289 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OrthancDatasets/DicomDatasetReader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
290 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OrthancDatasets/DicomPath.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
291 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OrthancDatasets/FullOrthancDataset.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
292 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/OrthancDatasets/IOrthancConnection.cpp
784
9f3b2027a4a9 DicomStructureSetLoader
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 775
diff changeset
293
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
294 ${ORTHANC_STONE_ROOT}/Sources/Fonts/FontRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
295 ${ORTHANC_STONE_ROOT}/Sources/Fonts/Glyph.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
296 ${ORTHANC_STONE_ROOT}/Sources/Fonts/GlyphAlphabet.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
297 ${ORTHANC_STONE_ROOT}/Sources/Fonts/GlyphBitmapAlphabet.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
298 ${ORTHANC_STONE_ROOT}/Sources/Fonts/GlyphTextureAlphabet.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
299 ${ORTHANC_STONE_ROOT}/Sources/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
300
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
301 ${ORTHANC_STONE_ROOT}/Sources/Loaders/BasicFetchingItemsSorter.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
302 ${ORTHANC_STONE_ROOT}/Sources/Loaders/BasicFetchingItemsSorter.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
303 ${ORTHANC_STONE_ROOT}/Sources/Loaders/BasicFetchingStrategy.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
304 ${ORTHANC_STONE_ROOT}/Sources/Loaders/BasicFetchingStrategy.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
305 ${ORTHANC_STONE_ROOT}/Sources/Loaders/DicomResourcesLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
306 ${ORTHANC_STONE_ROOT}/Sources/Loaders/DicomSource.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
307 ${ORTHANC_STONE_ROOT}/Sources/Loaders/DicomStructureSetLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
308 ${ORTHANC_STONE_ROOT}/Sources/Loaders/DicomStructureSetLoader.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
309 ${ORTHANC_STONE_ROOT}/Sources/Loaders/DicomVolumeLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
310 ${ORTHANC_STONE_ROOT}/Sources/Loaders/IFetchingItemsSorter.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
311 ${ORTHANC_STONE_ROOT}/Sources/Loaders/IFetchingStrategy.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
312 ${ORTHANC_STONE_ROOT}/Sources/Loaders/LoadedDicomResources.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
313 ${ORTHANC_STONE_ROOT}/Sources/Loaders/LoaderCache.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
314 ${ORTHANC_STONE_ROOT}/Sources/Loaders/LoaderCache.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
315 ${ORTHANC_STONE_ROOT}/Sources/Loaders/LoaderStateMachine.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
316 ${ORTHANC_STONE_ROOT}/Sources/Loaders/LoaderStateMachine.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
317 ${ORTHANC_STONE_ROOT}/Sources/Loaders/OrthancMultiframeVolumeLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
318 ${ORTHANC_STONE_ROOT}/Sources/Loaders/OrthancMultiframeVolumeLoader.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
319 ${ORTHANC_STONE_ROOT}/Sources/Loaders/OracleScheduler.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
320 ${ORTHANC_STONE_ROOT}/Sources/Loaders/OrthancSeriesVolumeProgressiveLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
321 ${ORTHANC_STONE_ROOT}/Sources/Loaders/OrthancSeriesVolumeProgressiveLoader.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
322 ${ORTHANC_STONE_ROOT}/Sources/Loaders/SeriesFramesLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
323 ${ORTHANC_STONE_ROOT}/Sources/Loaders/SeriesMetadataLoader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
324 ${ORTHANC_STONE_ROOT}/Sources/Loaders/SeriesOrderedFrames.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
325 ${ORTHANC_STONE_ROOT}/Sources/Loaders/SeriesThumbnailsLoader.cpp
1311
3d26447ddd28 warning fixes + doc + indentation + header files in cmake for VC++ sln browsing
Benjamin Golinvaux <bgo@osimis.io>
parents: 1308
diff changeset
326
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
327 ${ORTHANC_STONE_ROOT}/Sources/Messages/ICallable.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
328 ${ORTHANC_STONE_ROOT}/Sources/Messages/IMessage.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
329 ${ORTHANC_STONE_ROOT}/Sources/Messages/IMessageEmitter.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
330 ${ORTHANC_STONE_ROOT}/Sources/Messages/IObservable.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
331 ${ORTHANC_STONE_ROOT}/Sources/Messages/IObservable.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
332 ${ORTHANC_STONE_ROOT}/Sources/Messages/IObserver.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
333 ${ORTHANC_STONE_ROOT}/Sources/Messages/ObserverBase.h
1311
3d26447ddd28 warning fixes + doc + indentation + header files in cmake for VC++ sln browsing
Benjamin Golinvaux <bgo@osimis.io>
parents: 1308
diff changeset
334
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
335 ${ORTHANC_STONE_ROOT}/Sources/Oracle/GetOrthancImageCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
336 ${ORTHANC_STONE_ROOT}/Sources/Oracle/GetOrthancWebViewerJpegCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
337 ${ORTHANC_STONE_ROOT}/Sources/Oracle/HttpCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
338 ${ORTHANC_STONE_ROOT}/Sources/Oracle/OracleCommandBase.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
339 ${ORTHANC_STONE_ROOT}/Sources/Oracle/OrthancRestApiCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
340 ${ORTHANC_STONE_ROOT}/Sources/Oracle/ParseDicomFromFileCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
341 ${ORTHANC_STONE_ROOT}/Sources/Oracle/ParseDicomFromWadoCommand.cpp
1324
4d8d642f7036 Added a NullLayer scene layer type that allows
Benjamin Golinvaux <bgo@osimis.io>
parents: 1316
diff changeset
342
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
343 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/CairoCompositor.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
344 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/CairoCompositor.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
345 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Color.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
346 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ColorSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
347 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ColorTextureSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
348 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ColorTextureSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
349 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/FloatTextureSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
350 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/FloatTextureSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
351 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/GrayscaleStyleConfigurator.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
352 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/GrayscaleStyleConfigurator.h
1533
82279abb92d0 GrayscaleWindowingSceneTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1531
diff changeset
353 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/GrayscaleWindowingSceneTracker.cpp
82279abb92d0 GrayscaleWindowingSceneTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1531
diff changeset
354 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/GrayscaleWindowingSceneTracker.h
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
355 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ICompositor.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
356 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ILayerStyleConfigurator.h
1533
82279abb92d0 GrayscaleWindowingSceneTracker
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1531
diff changeset
357 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ISceneLayer.h
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
358 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/InfoPanelSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
359 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/InfoPanelSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
360 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/LookupTableStyleConfigurator.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
361 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/LookupTableStyleConfigurator.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
362 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/LookupTableTextureSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
363 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/LookupTableTextureSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
364 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/NullLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
365 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/PanSceneTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
366 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/PanSceneTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
367 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/PointerEvent.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
368 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/PointerEvent.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
369 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/PolylineSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
370 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/PolylineSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
371 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/RotateSceneTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
372 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/RotateSceneTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
373 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Scene2D.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
374 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Scene2D.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
375 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ScenePoint2D.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
376 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/TextSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
377 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/TextSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
378 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/TextureBaseSceneLayer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
379 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/TextureBaseSceneLayer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
380 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ZoomSceneTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
381 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/ZoomSceneTracker.h
1324
4d8d642f7036 Added a NullLayer scene layer type that allows
Benjamin Golinvaux <bgo@osimis.io>
parents: 1316
diff changeset
382
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
383 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoBaseRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
384 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoColorTextureRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
385 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoColorTextureRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
386 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoFloatTextureRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
387 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoFloatTextureRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
388 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoInfoPanelRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
389 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoInfoPanelRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
390 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoLookupTableTextureRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
391 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoLookupTableTextureRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
392 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoPolylineRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
393 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoPolylineRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
394 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoTextRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
395 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CairoTextRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
396 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CompositorHelper.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
397 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/CompositorHelper.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
398 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/FixedPointAligner.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
399 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/FixedPointAligner.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
400 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/ICairoContextProvider.h
1324
4d8d642f7036 Added a NullLayer scene layer type that allows
Benjamin Golinvaux <bgo@osimis.io>
parents: 1316
diff changeset
401
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
402 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/AngleMeasureTool.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
403 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/AngleMeasureTool.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
404 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateAngleMeasureCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
405 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateAngleMeasureCommand.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
406 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateAngleMeasureTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
407 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateAngleMeasureTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
408 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateCircleMeasureTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
409 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateCircleMeasureTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
410 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateLineMeasureCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
411 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateLineMeasureCommand.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
412 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateLineMeasureTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
413 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateLineMeasureTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
414 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateMeasureTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
415 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/CreateMeasureTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
416 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditAngleMeasureCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
417 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditAngleMeasureCommand.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
418 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditAngleMeasureTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
419 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditAngleMeasureTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
420 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditLineMeasureCommand.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
421 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditLineMeasureCommand.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
422 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditLineMeasureTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
423 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/EditLineMeasureTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
424 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/IFlexiblePointerTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
425 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/LayerHolder.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
426 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/LayerHolder.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
427 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/LineMeasureTool.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
428 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/LineMeasureTool.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
429 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureCommands.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
430 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureCommands.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
431 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureTool.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
432 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureTool.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
433 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureToolsToolbox.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
434 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureToolsToolbox.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
435 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureTrackers.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
436 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/MeasureTrackers.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
437 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/OneGesturePointerTracker.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
438 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/OneGesturePointerTracker.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
439 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/PredeclaredTypes.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
440 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/UndoStack.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
441 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/UndoStack.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
442 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/ViewportController.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
443 ${ORTHANC_STONE_ROOT}/Sources/Scene2DViewport/ViewportController.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
444 ${ORTHANC_STONE_ROOT}/Sources/StoneEnumerations.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
445 ${ORTHANC_STONE_ROOT}/Sources/StoneException.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
446 ${ORTHANC_STONE_ROOT}/Sources/StoneInitialization.cpp
1478
fab6c6e795a3 Framework/Toolbox/SortedFrames.cpp
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1473
diff changeset
447
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
448 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/AffineTransform2D.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
449 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/AffineTransform2D.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
450 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/CoordinateSystem3D.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
451 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/CoordinateSystem3D.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
452 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomInstanceParameters.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
453 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomInstanceParameters.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
454 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructure2.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
455 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructure2.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
456 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructurePolygon2.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
457 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructurePolygon2.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
458 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructureSet.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
459 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructureSet.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
460 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructureSet2.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
461 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructureSet2.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
462 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructureSetUtils.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
463 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DicomStructureSetUtils.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
464 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DisjointDataSet.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
465 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DynamicBitmap.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
466 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/DynamicBitmap.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
467 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/Extent2D.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
468 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/Extent2D.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
469 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/FiniteProjectiveCamera.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
470 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/FiniteProjectiveCamera.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
471 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/GenericToolbox.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
472 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/GenericToolbox.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
473 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/GeometryToolbox.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
474 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/GeometryToolbox.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
475 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ImageGeometry.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
476 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ImageGeometry.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
477 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ImageToolbox.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
478 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ImageToolbox.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
479 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/LinearAlgebra.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
480 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/LinearAlgebra.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
481 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/PixelTestPatterns.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
482 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ShearWarpProjectiveTransform.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
483 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/ShearWarpProjectiveTransform.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
484 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/SlicesSorter.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
485 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/SlicesSorter.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
486 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/SortedFrames.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
487 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/SortedFrames.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
488 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/SubpixelReader.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
489 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/SubvoxelReader.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
490 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/TextRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
491 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/TextRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
492 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/UndoRedoStack.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
493 ${ORTHANC_STONE_ROOT}/Sources/Toolbox/UndoRedoStack.h
987
d225bccd4d4a Scaffolding for A/B tests with DicomStructureSet[Loader] (A/B testing)
Benjamin Golinvaux <bgo@osimis.io>
parents: 979
diff changeset
494
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
495 ${ORTHANC_STONE_ROOT}/Sources/Viewport/IViewport.h
1558
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1557
diff changeset
496 ${ORTHANC_STONE_ROOT}/Sources/Viewport/DefaultViewportInteractor.cpp
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
497
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
498 ${ORTHANC_STONE_ROOT}/Sources/Volumes/IGeometryProvider.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
499 ${ORTHANC_STONE_ROOT}/Sources/Volumes/IVolumeSlicer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
500 ${ORTHANC_STONE_ROOT}/Sources/Volumes/IVolumeSlicer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
501 ${ORTHANC_STONE_ROOT}/Sources/Volumes/OrientedVolumeBoundingBox.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
502 ${ORTHANC_STONE_ROOT}/Sources/Volumes/OrientedVolumeBoundingBox.h
1275
41d19fa749b7 Added PixelTestPattern class to debug invisible slice issues
Benjamin Golinvaux <bgo@osimis.io>
parents: 1270
diff changeset
503
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
504 ${ORTHANC_STONE_ROOT}/Sources/Volumes/VolumeImageGeometry.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
505 ${ORTHANC_STONE_ROOT}/Sources/Volumes/VolumeImageGeometry.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
506 ${ORTHANC_STONE_ROOT}/Sources/Volumes/VolumeReslicer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
507 ${ORTHANC_STONE_ROOT}/Sources/Volumes/VolumeReslicer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
508 ${ORTHANC_STONE_ROOT}/Sources/Volumes/VolumeSceneLayerSource.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
509 ${ORTHANC_STONE_ROOT}/Sources/Volumes/VolumeSceneLayerSource.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
510 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomStructureSetSlicer2.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
511 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomStructureSetSlicer2.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
512 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImage.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
513 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImage.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
514 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImage.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
515 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImageMPRSlicer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
516 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImageMPRSlicer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
517 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImageReslicer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
518 ${ORTHANC_STONE_ROOT}/Sources/Volumes/DicomVolumeImageReslicer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
519 ${ORTHANC_STONE_ROOT}/Sources/Volumes/ImageBuffer3D.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
520 ${ORTHANC_STONE_ROOT}/Sources/Volumes/ImageBuffer3D.h
1004
633186a2ed03 added new files to Stone CMake file
Benjamin Golinvaux <bgo@osimis.io>
parents: 987
diff changeset
521
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
522 ${ORTHANC_STONE_ROOT}/Sources/Wrappers/CairoContext.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
523 ${ORTHANC_STONE_ROOT}/Sources/Wrappers/CairoSurface.cpp
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
524
80
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 73
diff changeset
525 ${PLATFORM_SOURCES}
145
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 140
diff changeset
526 ${APPLICATIONS_SOURCES}
113
2eca030792aa using the Orthanc Framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 111
diff changeset
527 ${ORTHANC_CORE_SOURCES}
256
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 215
diff changeset
528 ${ORTHANC_DICOM_SOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
529
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
530 # Mandatory components
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
531 ${CAIRO_SOURCES}
576
529c9617654b FontRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 573
diff changeset
532 ${FREETYPE_SOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
533 ${PIXMAN_SOURCES}
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
534
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
535 # Optional components
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
536 ${SDL_SOURCES}
276
5de5699ad570 first display in QCairoWidget; no mouse interaction yet
am@osimis.io
parents: 274
diff changeset
537 ${QT_SOURCES}
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 610
diff changeset
538 ${GLEW_SOURCES}
0
351ab0da0150 initial commit
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
539 )
221
d7b2590744f8 wip: building applications reusable in SDL and WASM
am@osimis.io
parents: 215
diff changeset
540
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
541
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
542 if (ENABLE_OPENGL)
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
543 list(APPEND ORTHANC_STONE_SOURCES
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
544 ${ORTHANC_STONE_ROOT}/Sources/Fonts/OpenGLTextCoordinates.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
545 ${ORTHANC_STONE_ROOT}/Sources/Fonts/OpenGLTextCoordinates.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
546 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/OpenGLProgram.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
547 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/OpenGLProgram.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
548 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/OpenGLShader.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
549 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/OpenGLShader.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
550 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/OpenGLTexture.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
551 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/OpenGLTexture.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
552 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/OpenGLCompositor.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
553 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/OpenGLCompositor.cpp
1324
4d8d642f7036 Added a NullLayer scene layer type that allows
Benjamin Golinvaux <bgo@osimis.io>
parents: 1316
diff changeset
554
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
555 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLAdvancedPolylineRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
556 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLAdvancedPolylineRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
557 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLBasicPolylineRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
558 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLBasicPolylineRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
559 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLColorTextureProgram.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
560 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLColorTextureProgram.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
561 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLColorTextureRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
562 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLColorTextureRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
563 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLFloatTextureProgram.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
564 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLFloatTextureProgram.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
565 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLFloatTextureRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
566 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLFloatTextureRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
567 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLInfoPanelRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
568 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLInfoPanelRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
569 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLLinesProgram.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
570 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLLinesProgram.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
571 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLLookupTableTextureRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
572 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLLookupTableTextureRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
573 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLShaderVersionDirective.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
574 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLTextProgram.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
575 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLTextProgram.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
576 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLTextRenderer.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
577 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLTextRenderer.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
578 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLTextureProgram.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
579 ${ORTHANC_STONE_ROOT}/Sources/Scene2D/Internals/OpenGLTextureProgram.h
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
580 )
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
581
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
582 if (ENABLE_WASM)
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
583 list(APPEND ORTHANC_STONE_SOURCES
1512
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
584 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/WebAssemblyOpenGLContext.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
585 ${ORTHANC_STONE_ROOT}/Sources/OpenGL/WebAssemblyOpenGLContext.h
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
586 ${ORTHANC_STONE_ROOT}/Sources/Viewport/WebGLViewport.cpp
244ad1e4e76a reorganization of folders
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1509
diff changeset
587 ${ORTHANC_STONE_ROOT}/Sources/Viewport/WebGLViewportsRegistry.cpp
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
588 )
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
589 endif()
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
590 endif()
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 577
diff changeset
591
413
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
592 ##
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
593 ## TEST - Automatically add all ".h" headers to the list of sources
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
594 ##
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
595
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
596 macro(AutodetectHeaderFiles SOURCES_VAR)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
597 set(TMP)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
598
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
599 foreach(f IN LISTS ${SOURCES_VAR})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
600 get_filename_component(_base ${f} NAME_WE)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
601 get_filename_component(_dir ${f} DIRECTORY)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
602 get_filename_component(_extension ${f} EXT)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
603 set(_header ${_dir}/${_base}.h)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
604
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
605 if ((_extension STREQUAL ".cpp" OR
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
606 _extension STREQUAL ".cc" OR
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
607 _extension STREQUAL ".h") AND
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
608 EXISTS ${_header} AND
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
609 NOT IS_DIRECTORY ${_header} AND
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
610 NOT IS_SYMLINK ${_header})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
611
414
f7616c010056 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 413
diff changeset
612 # Prevent adding the header twice if it is already manually
f7616c010056 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 413
diff changeset
613 # specified in the sources
413
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
614 list (FIND SOURCES_VAR ${_header} _index)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
615 if (${_index} EQUAL -1)
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
616 list(APPEND TMP ${_header})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
617 endif()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
618 endif()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
619 endforeach()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
620
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
621 list(APPEND ${SOURCES_VAR} ${TMP})
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
622 endmacro()
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
623
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
624
18b707fb8620 reorganization
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 410
diff changeset
625 AutodetectHeaderFiles(ORTHANC_STONE_SOURCES)