Mercurial > hg > orthanc-stone
annotate Resources/CMake/OrthancStoneParameters.cmake @ 1504:d8af188ab545
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2020 20:35:16 +0200 |
parents | 615035c2f3ba |
children | dd1d1cc0575d |
rev | line source |
---|---|
115 | 1 # Stone of Orthanc |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
1270
2d8ab34c8c91
upgrade to year 2020
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
740
diff
changeset
|
4 # Copyright (C) 2017-2020 Osimis S.A., Belgium |
115 | 5 # |
6 # This program is free software: you can redistribute it and/or | |
7 # modify it under the terms of the GNU Affero General Public License | |
8 # as published by the Free Software Foundation, either version 3 of | |
9 # the License, or (at your option) any later version. | |
10 # | |
11 # This program is distributed in the hope that it will be useful, but | |
12 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 # Affero General Public License for more details. | |
15 # | |
16 # You should have received a copy of the GNU Affero General Public License | |
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
18 | |
19 | |
20 | |
21 ##################################################################### | |
22 ## Import the parameters of the Orthanc Framework | |
23 ##################################################################### | |
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) |
1504 | 26 include(${ORTHANC_FRAMEWORK_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) |
115 | 27 |
338 | 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 | 30 set(ENABLE_JPEG ON) |
31 set(ENABLE_OPENSSL_ENGINES ON) | |
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) |
115 | 35 |
36 | |
37 ##################################################################### | |
38 ## CMake parameters tunable by the user | |
39 ##################################################################### | |
40 | |
41 # 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
|
42 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo") |
576 | 43 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
|
44 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
|
45 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
|
46 set(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2") |
115 | 47 |
48 | |
49 ##################################################################### | |
50 ## Internal CMake parameters to enable the optional subcomponents of | |
51 ## the Stone of Orthanc | |
52 ##################################################################### | |
53 | |
1298
8a0a62189f46
replacing std::auto_ptr by std::unique_ptr
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
1270
diff
changeset
|
54 set(ENABLE_OPENGL ON CACHE BOOL "Enable support of OpenGL") |
616
97926984d5d0
WebAssembly sample using Scene2D
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
613
diff
changeset
|
55 set(ENABLE_WASM OFF CACHE INTERNAL "Enable support of WebAssembly") |
1410
b2b0fc4a5596
Added ENABLE_GUIADAPTER option + fixed include paths in GuiAdapter
Benjamin Golinvaux <bgo@osimis.io>
parents:
1298
diff
changeset
|
56 set(ENABLE_GUIADAPTER OFF CACHE INTERNAL "Enable backward compatibility with the Stone GuiAdapter class") |