Mercurial > hg > orthanc-stone
annotate Resources/CMake/OrthancStoneParameters.cmake @ 248:2da24bf88100 am-2
created a new branch to try another type of Message Broker (instead of boost::signals2)
author | am@osimis.io |
---|---|
date | Mon, 02 Jul 2018 12:33:56 +0200 |
parents | 5412adf19980 |
children | 86ccff58f344 |
rev | line source |
---|---|
115 | 1 # Stone of Orthanc |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
135
e2fe9352f240
upgrade to year 2018
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
128
diff
changeset
|
4 # Copyright (C) 2017-2018 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) |
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
26 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) |
115 | 27 |
212
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
28 set(ENABLE_LOCALE OFF) # Disable support for locales (notably in Boost) |
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
29 set(ENABLE_GOOGLE_TEST ON) |
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
30 set(ENABLE_SQLITE OFF) |
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
31 SET(ENABLE_JPEG ON) |
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
32 SET(ENABLE_PNG ON) |
5412adf19980
resort to OrthancFramework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
200
diff
changeset
|
33 SET(ENABLE_ZLIB ON) |
115 | 34 |
35 | |
36 ##################################################################### | |
37 ## CMake parameters tunable by the user | |
38 ##################################################################### | |
39 | |
40 # 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
|
41 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo") |
03afbee0cc7b
integration of Orthanc core into Stone
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
135
diff
changeset
|
42 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
|
43 set(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2") |
115 | 44 |
45 | |
46 ##################################################################### | |
47 ## Internal CMake parameters to enable the optional subcomponents of | |
48 ## the Stone of Orthanc | |
49 ##################################################################### | |
50 | |
200
03afbee0cc7b
integration of Orthanc core into Stone
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
135
diff
changeset
|
51 set(ENABLE_SDL ON CACHE INTERNAL "Include support for SDL") |