[Repository Listing] / [Slicer3] / oldtrunk / vtkSlicerConfigure.h.in
 

View of /oldtrunk/vtkSlicerConfigure.h.in

Parent Directory Parent Directory Revision Log Revision Log


Revision 15040  Download Blame
File size: 3237 byte(s)
ENH: implementing changes described in the email linked below.
http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005338.html
1 /*
2 * Here is where system computed values get stored.
3 * These values should only change when the target compile platform changes.
4 */
5
6 #if defined(WIN32) && !defined(VTKSLICER_STATIC)
7 #pragma warning ( disable : 4275 )
8 #endif
9
10 #cmakedefine CMAKE_WORDS_BIGENDIAN
11 #ifdef CMAKE_WORDS_BIGENDIAN
12 #define WORDS_BIGENDIAN
13 #else
14 #define WORDS_LITTLEENDIAN
15 #endif
16
17 #cmakedefine BUILD_SHARED_LIBS
18 #ifndef BUILD_SHARED_LIBS
19 #define VTKSLICER_STATIC
20 #endif
21
22 #cmakedefine Slicer3_USE_BatchMake
23 #cmakedefine Slicer3_USE_IGSTK
24 #cmakedefine Slicer3_USE_MIDAS
25 #cmakedefine Slicer3_USE_NAVITRACK
26 #cmakedefine Slicer3_USE_NUMPY
27 #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 #define VTKSLICER_CONFIGURATION_TYPES "@CMAKE_CONFIGURATION_TYPES@"
36
37 #define Slicer3_INSTALL_BIN_DIR "@Slicer3_INSTALL_BIN_DIR@"
38 #define Slicer3_INSTALL_LIB_DIR "@Slicer3_INSTALL_LIB_DIR@"
39 #define Slicer3_INSTALL_INCLUDE_DIR "@Slicer3_INSTALL_INCLUDE_DIR@"
40 #define Slicer3_INSTALL_SHARE_DIR "@Slicer3_INSTALL_SHARE_DIR@"
41 #define Slicer3_INSTALL_ITKFACTORIES_DIR "@Slicer3_INSTALL_ITKFACTORIES_DIR@"
42
43 #define Slicer3_INSTALL_PLUGINS_BIN_DIR "@Slicer3_INSTALL_PLUGINS_BIN_DIR@"
44 #define Slicer3_INSTALL_PLUGINS_LIB_DIR "@Slicer3_INSTALL_PLUGINS_LIB_DIR@"
45 #define Slicer3_INSTALL_PLUGINS_INCLUDE_DIR "@Slicer3_INSTALL_PLUGINS_INCLUDE_DIR@"
46 #define Slicer3_INSTALL_PLUGINS_SHARE_DIR "@Slicer3_INSTALL_PLUGINS_SHARE_DIR@"
47 #define Slicer3_INSTALL_PLUGINS_CACHE_DIR "@Slicer3_INSTALL_PLUGINS_CACHE_DIR@"
48
49 #define Slicer3_INSTALL_MODULES_BIN_DIR "@Slicer3_INSTALL_MODULES_BIN_DIR@"
50 #define Slicer3_INSTALL_MODULES_LIB_DIR "@Slicer3_INSTALL_MODULES_LIB_DIR@"
51 #define Slicer3_INSTALL_MODULES_INCLUDE_DIR "@Slicer3_INSTALL_MODULES_INCLUDE_DIR@"
52 #define Slicer3_INSTALL_MODULES_SHARE_DIR "@Slicer3_INSTALL_MODULES_SHARE_DIR@"
53
54 #ifdef Slicer3_BUILD_QTLOADABLEMODULES
55 # define Slicer3_INSTALL_QTLOADABLEMODULES_BIN_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_BIN_DIR@"
56 # define Slicer3_INSTALL_QTLOADABLEMODULES_LIB_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_LIB_DIR@"
57 # define Slicer3_INSTALL_QTLOADABLEMODULES_INCLUDE_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_INCLUDE_DIR@"
58 # define Slicer3_INSTALL_QTLOADABLEMODULES_SHARE_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_SHARE_DIR@"
59 #endif //Slicer3_BUILD_QTLOADABLEMODULES
60
61 /* Do not use those variables unless you can not retrieve the Tcl/Tk version
62 at run-time using this code below:
63 int tcl_major, tcl_minor, tcl_patch_level;
64 Tcl_GetVersion(&tcl_major, &tcl_minor, &tcl_patch_level, NULL);
65 */
66 #define Slicer3_TCL_TK_MAJOR_VERSION "@TCL_TK_MAJOR_VERSION@"
67 #define Slicer3_TCL_TK_MINOR_VERSION "@TCL_TK_MINOR_VERSION@"
68 #define Slicer3_INCR_TCL_MAJOR_VERSION "@INCR_TCL_MAJOR_VERSION@"
69 #define Slicer3_INCR_TCL_MINOR_VERSION "@INCR_TCL_MINOR_VERSION@"
70
71 // Convenient macro to print info provided as argument
72 // Note: No-op is Slicer3_USE_QT OFF
73 #ifdef Slicer3_USE_QT
74 #define SlicerQDebug(_arg) {qDebug() << _arg;}
75 #else
76 #define SlicerQDebug(_arg)
77 #endif
78
79 // Library sub-directory
80 #define VTK_DIR "@VTK_DIR@"
81 //#define Teem_DIR "@Teem_DIR@"

  Subversion  TortoiseSVN  ViewVC