vtkSlicerConfigure.h.in 3.13 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* 
 * Here is where system computed values get stored.
 * These values should only change when the target compile platform changes.
 */

#if defined(WIN32) && !defined(VTKSLICER_STATIC)
#pragma warning ( disable : 4275 )
#endif

#cmakedefine CMAKE_WORDS_BIGENDIAN
#ifdef CMAKE_WORDS_BIGENDIAN
  #define WORDS_BIGENDIAN
#else
  #define WORDS_LITTLEENDIAN
#endif

#cmakedefine BUILD_SHARED_LIBS
#ifndef BUILD_SHARED_LIBS
#define VTKSLICER_STATIC
#endif

22
#cmakedefine Slicer_USE_BatchMake
23
#cmakedefine Slicer3_USE_IGSTK
24
#cmakedefine Slicer_USE_MIDAS
25
26
27
#cmakedefine Slicer3_USE_NAVITRACK
#cmakedefine Slicer3_USE_NUMPY
#cmakedefine Slicer3_USE_PYTHON
28
#cmakedefine Slicer3_USE_PYTHONQT
29
#cmakedefine Slicer3_USE_PYTHONQT_WITH_TCL
30
#cmakedefine Slicer3_USE_OPENTRACKER
31
#cmakedefine Slicer3_USE_QT
32
#cmakedefine Slicer3_USE_KWWIDGETS
33
#cmakedefine Slicer3_USE_VTK_CVSHEAD
34
35
36

#define VTKSLICER_CONFIGURATION_TYPES "@CMAKE_CONFIGURATION_TYPES@"

37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#define Slicer_INSTALL_BIN_DIR "@Slicer_INSTALL_BIN_DIR@"
#define Slicer_INSTALL_LIB_DIR "@Slicer_INSTALL_LIB_DIR@"
#define Slicer_INSTALL_INCLUDE_DIR "@Slicer_INSTALL_INCLUDE_DIR@"
#define Slicer_INSTALL_SHARE_DIR "@Slicer_INSTALL_SHARE_DIR@"
#define Slicer_INSTALL_ITKFACTORIES_DIR "@Slicer_INSTALL_ITKFACTORIES_DIR@"

#define Slicer_INSTALL_PLUGINS_BIN_DIR "@Slicer_INSTALL_PLUGINS_BIN_DIR@"
#define Slicer_INSTALL_PLUGINS_LIB_DIR "@Slicer_INSTALL_PLUGINS_LIB_DIR@"
#define Slicer_INSTALL_PLUGINS_INCLUDE_DIR "@Slicer_INSTALL_PLUGINS_INCLUDE_DIR@"
#define Slicer_INSTALL_PLUGINS_SHARE_DIR "@Slicer_INSTALL_PLUGINS_SHARE_DIR@"
#define Slicer_INSTALL_PLUGINS_CACHE_DIR "@Slicer_INSTALL_PLUGINS_CACHE_DIR@"

#define Slicer_INSTALL_MODULES_BIN_DIR "@Slicer_INSTALL_MODULES_BIN_DIR@"
#define Slicer_INSTALL_MODULES_LIB_DIR "@Slicer_INSTALL_MODULES_LIB_DIR@"
#define Slicer_INSTALL_MODULES_INCLUDE_DIR "@Slicer_INSTALL_MODULES_INCLUDE_DIR@"
#define Slicer_INSTALL_MODULES_SHARE_DIR "@Slicer_INSTALL_MODULES_SHARE_DIR@"
53

jcfr's avatar
jcfr committed
54
55
56
57
58
59
60
#ifdef Slicer3_BUILD_QTLOADABLEMODULES
#  define Slicer3_INSTALL_QTLOADABLEMODULES_BIN_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_BIN_DIR@"
#  define Slicer3_INSTALL_QTLOADABLEMODULES_LIB_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_LIB_DIR@"
#  define Slicer3_INSTALL_QTLOADABLEMODULES_INCLUDE_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_INCLUDE_DIR@"
#  define Slicer3_INSTALL_QTLOADABLEMODULES_SHARE_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_SHARE_DIR@"
#endif //Slicer3_BUILD_QTLOADABLEMODULES

61
62
63
64
65
66
67
68
69
/* Do not use those variables unless you can not retrieve the Tcl/Tk version
   at run-time using this code below:
   int tcl_major, tcl_minor, tcl_patch_level;
   Tcl_GetVersion(&tcl_major, &tcl_minor, &tcl_patch_level, NULL);
*/
#define Slicer3_TCL_TK_MAJOR_VERSION "@TCL_TK_MAJOR_VERSION@"
#define Slicer3_TCL_TK_MINOR_VERSION "@TCL_TK_MINOR_VERSION@"
#define Slicer3_INCR_TCL_MAJOR_VERSION "@INCR_TCL_MAJOR_VERSION@"
#define Slicer3_INCR_TCL_MINOR_VERSION "@INCR_TCL_MINOR_VERSION@"
70
71
72
73
74
75
76
77

// Convenient macro to print info provided as argument
// Note: No-op is Slicer3_USE_QT OFF
#ifdef Slicer3_USE_QT
#define SlicerQDebug(_arg) {qDebug() << _arg;}
#else
#define SlicerQDebug(_arg)
#endif
78
79
80
81

// Library sub-directory
#define VTK_DIR "@VTK_DIR@"
//#define Teem_DIR "@Teem_DIR@"