annotate Resources/CMake/OrthancStoneParameters.cmake @ 950:e8c81a5582d6

Added tag toa2019081301 for changeset 32eaf4929b08
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 13 Aug 2019 16:03:53 +0200
parents 31487d066d1d
children 2d8ab34c8c91
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
1 # Stone of Orthanc
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
3 # Department, University Hospital of Liege, Belgium
439
b70e9be013e4 preparing for 2019
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 338
diff changeset
4 # Copyright (C) 2017-2019 Osimis S.A., Belgium
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
5 #
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
6 # This program is free software: you can redistribute it and/or
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
7 # modify it under the terms of the GNU Affero General Public License
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
8 # as published by the Free Software Foundation, either version 3 of
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
9 # the License, or (at your option) any later version.
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
10 #
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
11 # This program is distributed in the hope that it will be useful, but
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
14 # Affero General Public License for more details.
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
15 #
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
16 # You should have received a copy of the GNU Affero General Public License
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
18
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
19
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
20
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
21 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
22 ## Import the parameters of the Orthanc Framework
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
23 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
24
212
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
25 include(${CMAKE_CURRENT_LIST_DIR}/../../Resources/Orthanc/DownloadOrthancFramework.cmake)
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
26 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake)
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
27
338
b3b3fa0e3689 BitmapStack
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 295
diff changeset
28 set(ENABLE_DCMTK OFF)
212
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
29 set(ENABLE_GOOGLE_TEST ON)
573
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 509
diff changeset
30 set(ENABLE_JPEG ON)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 509
diff changeset
31 set(ENABLE_OPENSSL_ENGINES ON)
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 509
diff changeset
32 set(ENABLE_PNG ON)
212
5412adf19980 resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 200
diff changeset
33 set(ENABLE_SQLITE OFF)
256
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 212
diff changeset
34 set(ENABLE_ZLIB ON)
86ccff58f344 fix build if dcmtk is enabled
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 212
diff changeset
35 set(HAS_EMBEDDED_RESOURCES ON)
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
36
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
37
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
38 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
39 ## CMake parameters tunable by the user
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
40 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
41
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
42 # Advanced parameters to fine-tune linking against system libraries
200
03afbee0cc7b integration of Orthanc core into Stone
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 135
diff changeset
43 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo")
576
529c9617654b FontRenderer
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 573
diff changeset
44 set(USE_SYSTEM_FREETYPE ON CACHE BOOL "Use the system version of Freetype")
613
412a2d01a189 automatic initialization of glew
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 578
diff changeset
45 set(USE_SYSTEM_GLEW ON CACHE BOOL "Use the system version of glew (for Windows only)")
200
03afbee0cc7b integration of Orthanc core into Stone
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 135
diff changeset
46 set(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman")
03afbee0cc7b integration of Orthanc core into Stone
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 135
diff changeset
47 set(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2")
115
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
48
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
49
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
50 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
51 ## Internal CMake parameters to enable the optional subcomponents of
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
52 ## the Stone of Orthanc
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
53 #####################################################################
f598ffb81cda fix sandboxed build
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
diff changeset
54
578
21fd70df3fc9 starting work on OpenGL
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 576
diff changeset
55 set(ENABLE_OPENGL ON CACHE INTERNAL "Enable support of OpenGL")
616
97926984d5d0 WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 613
diff changeset
56 set(ENABLE_WASM OFF CACHE INTERNAL "Enable support of WebAssembly")
740
31487d066d1d new CMake internal option: ENABLE_STONE_DEPRECATED
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 616
diff changeset
57 set(ENABLE_STONE_DEPRECATED OFF CACHE INTERNAL "Enable backward compatibility with deprecated Stone classes")