Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All.cmake
Go to the documentation of this file.
1 set(MITK_CONFIG_PACKAGES )
2 
3 set(_apple_package_excludes)
4 
5 if(APPLE)
6  set(_apple_package_excludes
7  SOFA
8  )
9 endif()
10 
11 set(_python_excludes )
12 
13 if(NOT (CMAKE_SIZEOF_VOID_P EQUAL 8) )
14  set(_python_excludes
15  Python
16  Numpy
17  )
18 endif()
19 
20 set(_package_excludes
21  ${_apple_package_excludes}
22  ${_python_excludes}
23  OpenCL
24  SYSTEM_Boost
25  Boost_LIBRARIES
26  SYSTEM_PYTHON
27  SOFA_PLUGINS
28  SOFA_PLUGINS_DIR
29  SUPERBUILD
30  BiophotonicsHardware_SpectroCam
31 
32  KWSTYLE
33  MICROBIRD_TRACKER
34  MICROBIRD_TRACKER_INCLUDE_DIR
35  MICROBIRD_TRACKER_LIB
36  MICRON_TRACKER
37  OPTITRACK_TRACKER
38  SPACENAVIGATOR
39  TOF_KINECT
40  TOF_KINECTV2
41  TOF_MESASR4000
42  TOF_PMDCAMBOARD
43  TOF_PMDCAMCUBE
44  TOF_PMDO3
45  US_TELEMED_SDK
46  videoInput
47  WIIMOTE
48 )
49 
50 get_cmake_property(_cache_vars CACHE_VARIABLES)
51 foreach(_cache_var ${_cache_vars})
52  string(REGEX REPLACE "MITK_USE_(.+)" "\\1" _package "${_cache_var}")
53  if(_package AND NOT _package STREQUAL _cache_var)
54  list(FIND _package_excludes ${_package} _index)
55  if(_index EQUAL -1)
56  list(APPEND MITK_CONFIG_PACKAGES ${_package})
57  endif()
58  endif()
59 endforeach()
60 
61 set(MITK_BUILD_ALL_APPS ON CACHE BOOL "Build all MITK applications" FORCE)
62 set(MITK_BUILD_ALL_PLUGINS ON CACHE BOOL "Build all MITK plugins" FORCE)
63 set(MITK_BUILD_EXAMPLES ON CACHE BOOL "Build the MITK examples" FORCE)
64 set(BLUEBERRY_BUILD_ALL_PLUGINS ON CACHE BOOL "Build all BlueBerry plugins" FORCE)
65 set(BUILD_DiffusionMiniApps ON CACHE BOOL "Build MITK Diffusion MiniApps" FORCE)