Mercurial > hg > orthanc
diff Resources/CMake/OrthancFrameworkParameters.cmake @ 2791:d015fa861e3c
selective disabling of modules in the Orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 26 Jul 2018 21:18:05 +0200 |
parents | 8d8d2dbeef11 |
children | afb581263e1d |
line wrap: on
line diff
--- a/Resources/CMake/OrthancFrameworkParameters.cmake Thu Jul 26 20:43:03 2018 +0200 +++ b/Resources/CMake/OrthancFrameworkParameters.cmake Thu Jul 26 21:18:05 2018 +0200 @@ -105,3 +105,14 @@ set(ORTHANC_SANDBOXED OFF CACHE INTERNAL "Whether Orthanc runs inside a sandboxed environment (such as Google NaCl or WebAssembly)") + + +# +# These options can be used to turn off some modules of the Orthanc +# framework, in order to speed up the compilation time of third-party +# projects. +# + +set(ENABLE_MODULE_IMAGES ON CACHE INTERNAL "Enable module for image processing") +set(ENABLE_MODULE_JOBS ON CACHE INTERNAL "Enable module for jobs") +set(ENABLE_MODULE_DICOM ON CACHE INTERNAL "Enable module for DICOM handling")