Mercurial > hg > orthanc-stone
comparison Resources/CMake/OrthancStoneParameters.cmake @ 200:03afbee0cc7b
integration of Orthanc core into Stone
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 23 Mar 2018 11:04:03 +0100 |
parents | e2fe9352f240 |
children | 5412adf19980 |
comparison
equal
deleted
inserted
replaced
199:dabe9982fca3 | 200:03afbee0cc7b |
---|---|
20 | 20 |
21 ##################################################################### | 21 ##################################################################### |
22 ## Import the parameters of the Orthanc Framework | 22 ## Import the parameters of the Orthanc Framework |
23 ##################################################################### | 23 ##################################################################### |
24 | 24 |
25 # TODO => Import | 25 set(ORTHANC_STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..) |
26 SET(ORTHANC_ROOT /home/jodogne/Subversion/orthanc) | 26 set(ORTHANC_ROOT ${ORTHANC_STONE_ROOT}/Resources/Orthanc) |
27 | 27 |
28 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) | 28 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake) |
29 | |
30 SET(ORTHANC_STONE_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..) | |
31 | 29 |
32 | 30 |
33 ##################################################################### | 31 ##################################################################### |
34 ## CMake parameters tunable by the user | 32 ## CMake parameters tunable by the user |
35 ##################################################################### | 33 ##################################################################### |
36 | 34 |
37 # Advanced parameters to fine-tune linking against system libraries | 35 # Advanced parameters to fine-tune linking against system libraries |
38 SET(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo") | 36 set(USE_SYSTEM_CAIRO ON CACHE BOOL "Use the system version of Cairo") |
39 SET(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman") | 37 set(USE_SYSTEM_PIXMAN ON CACHE BOOL "Use the system version of Pixman") |
40 SET(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2") | 38 set(USE_SYSTEM_SDL ON CACHE BOOL "Use the system version of SDL2") |
41 | 39 |
42 | 40 |
43 ##################################################################### | 41 ##################################################################### |
44 ## Internal CMake parameters to enable the optional subcomponents of | 42 ## Internal CMake parameters to enable the optional subcomponents of |
45 ## the Stone of Orthanc | 43 ## the Stone of Orthanc |
46 ##################################################################### | 44 ##################################################################### |
47 | 45 |
48 SET(ENABLE_SDL ON CACHE INTERNAL "Include support for SDL") | 46 set(ENABLE_SDL ON CACHE INTERNAL "Include support for SDL") |