[Repository Listing] / [Slicer3] / trunk / Slicer3InstallConfig.cmake.in
 

View of /trunk/Slicer3InstallConfig.cmake.in

Parent Directory Parent Directory Revision Log Revision Log


Revision 15041  Download Blame
File size: 6873 byte(s)
ENH: make Slicer3/trunk be a copy of Slicer-3-6 branch.  New slicer4 development has moved to http://svn.slicer.org/Slicer4/trunk.  Use the Slicer3 trunk only for slicer3 maint purposes.

See this desription for details:

http://massmail.spl.harvard.edu/public-archives/slicer-devel/2010/005338.html
1 #
2 # Slicer3Config.cmake - Slicer3 CMake configuration file for external projects
3 #
4 # This file is configured by Slicer3 and used by UseSlicer3.cmake module
5 # to load Slicer3's settings for an external project. External projects
6 # can use these setting to build new modules against a Slicer3 build tree
7 # or a Slicer3 installation.
8 #
9
10 # The C and C++ flags added by Slicer3 to the cmake-configured flags.
11 set(Slicer3_REQUIRED_C_FLAGS "@Slicer3_REQUIRED_C_FLAGS@")
12 set(Slicer3_REQUIRED_CXX_FLAGS "@Slicer3_REQUIRED_CXX_FLAGS@")
13 set(Slicer3_REQUIRED_LINK_FLAGS "@Slicer3_REQUIRED_LINK_FLAGS@")
14
15 # The Slicer3 version number
16 set(Slicer3_VERSION_MAJOR "@Slicer3_VERSION_MAJOR@")
17 set(Slicer3_VERSION_MINOR "@Slicer3_VERSION_MINOR@")
18 set(Slicer3_VERSION_PATCH "@Slicer3_VERSION_PATCH@")
19
20 # Whether Slicer3 was built with modules and CLI support.
21 set(Slicer3_BUILD_MODULES "@Slicer3_BUILD_MODULES@")
22 set(Slicer3_BUILD_CLI "@Slicer3_BUILD_CLI@")
23 IF(Slicer3_USE_QT)
24 set(Slicer3_BUILD_QTLOADABLEMODULES "@Slicer3_BUILD_QTLOADABLEMODULES@")
25 ENDIF(Slicer3_USE_QT)
26
27 # Whether Slicer3 was built with shared libraries.
28 set(Slicer3_BUILD_SHARED "@BUILD_SHARED_LIBS@")
29
30 # Slicer3 options
31 set(Slicer3_USE_BatchMake "@Slicer3_USE_BatchMake@")
32 set(Slicer3_USE_IGSTK "@Slicer3_USE_IGSTK@")
33 set(Slicer3_USE_MIDAS "@Slicer3_USE_MIDAS@")
34 set(Slicer3_USE_NAVITRACK "@Slicer3_USE_NAVITRACK@")
35 set(Slicer3_USE_NUMPY "@Slicer3_USE_NUMPY@")
36 set(Slicer3_USE_PYTHON "@Slicer3_USE_PYTHON@")
37 set(Slicer3_USE_OPENTRACKER "@Slicer3_USE_OPENTRACKER@")
38
39 # Slicer could be installed anywhere, so set all paths based on where
40 # this file was found (which should be the lib/Slicer3 directory of the
41 # installation)
42 get_filename_component(Slicer3_CONFIG_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
43
44 # Slicer home (top of the tree)
45 set(Slicer3_HOME "${Slicer3_CONFIG_DIR}/../..")
46 get_filename_component(Slicer3_HOME ${Slicer3_HOME} ABSOLUTE)
47
48 # The CMake macros dir.
49 set(Slicer3_CMAKE_DIR "${Slicer3_HOME}/@Slicer3_INSTALL_LIB_DIR@/CMake")
50
51 # Slicer3 Libs libraries. Those listed here should
52 # automatically pull in their dependencies.
53 set(Slicer3_Libs_LIBRARIES "@Slicer3_Libs_LIBRARIES@")
54
55 # Slicer3 Libs library directories.
56 set(Slicer3_Libs_LIBRARY_DIRS
57 "${Slicer3_HOME}/lib/FreeSurfer"
58 "${Slicer3_HOME}/lib/IGT"
59 "${Slicer3_HOME}/lib/ITKCommandIO"
60 "${Slicer3_HOME}/lib/LoadableModule"
61 "${Slicer3_HOME}/lib/MGHImageIO"
62 "${Slicer3_HOME}/lib/MRML"
63 "${Slicer3_HOME}/lib/MRMLIDImageIO"
64 "${Slicer3_HOME}/lib/ModuleDescriptionParser"
65 "${Slicer3_HOME}/lib/Qdec"
66 "${Slicer3_HOME}/lib/RemoteIO"
67 "${Slicer3_HOME}/lib/SlicerIO"
68 "${Slicer3_HOME}/lib/tclap"
69 "${Slicer3_HOME}/lib/vtkITK"
70 "${Slicer3_HOME}/lib/vtkTeem"
71 "${Slicer3_HOME}/lib/TclTk/lib"
72 "${Slicer3_HOME}/lib/TclTk/lib/itcl@INCR_TCL_VERSION_DOT@"
73 "${Slicer3_HOME}/lib/TclTk/lib/itk@INCR_TCL_VERSION_DOT@"
74 )
75
76 # Slicer3 Libs include file directories.
77 set(Slicer3_Libs_INCLUDE_DIRS
78 "${Slicer3_HOME}/include/FreeSurfer"
79 "${Slicer3_HOME}/include/IGT"
80 "${Slicer3_HOME}/include/ITKCommandIO"
81 "${Slicer3_HOME}/include/LoadableModule"
82 "${Slicer3_HOME}/include/MGHImageIO"
83 "${Slicer3_HOME}/include/MRML"
84 "${Slicer3_HOME}/include/MRMLIDImageIO"
85 "${Slicer3_HOME}/include/ModuleDescriptionParser"
86 "${Slicer3_HOME}/include/Qdec"
87 "${Slicer3_HOME}/include/RemoteIO"
88 "${Slicer3_HOME}/include/SlicerIO"
89 "${Slicer3_HOME}/include/tclap"
90 "${Slicer3_HOME}/include/vtkITK"
91 "${Slicer3_HOME}/include/vtkTeem"
92 )
93
94 # Slicer3 Base libraries. Those listed here should
95 # automatically pull in their dependencies.
96 set(Slicer3_Base_LIBRARIES "@Slicer3_Base_LIBRARIES@")
97
98 # Slicer3 Base library directories.
99 set(Slicer3_Base_LIBRARY_DIRS
100 "${Slicer3_HOME}/@Slicer3_INSTALL_LIB_DIR@"
101 )
102
103 # Slicer3 Base include file directories.
104 set(Slicer3_Base_INCLUDE_DIRS
105 "${Slicer3_HOME}/@Slicer3_INSTALL_INCLUDE_DIR@"
106 "${Slicer3_HOME}/@Slicer3_INSTALL_INCLUDE_DIR@/SlicerBaseCLI"
107 "${Slicer3_HOME}/@Slicer3_INSTALL_INCLUDE_DIR@/SlicerBaseGUI"
108 "${Slicer3_HOME}/@Slicer3_INSTALL_INCLUDE_DIR@/SlicerBaseLogic"
109 )
110
111 # The location of the UseSlicer3.cmake file.
112 set(Slicer3_USE_FILE "${Slicer3_CONFIG_DIR}/UseSlicer3.cmake")
113
114 # The build settings file.
115 set(Slicer3_BUILD_SETTINGS_FILE
116 "${Slicer3_CONFIG_DIR}/Slicer3BuildSettings.cmake")
117
118 # The Slicer3 relative install directories.
119 set(Slicer3_INSTALL_BIN_DIR "@Slicer3_INSTALL_BIN_DIR@")
120 set(Slicer3_INSTALL_LIB_DIR "@Slicer3_INSTALL_LIB_DIR@")
121 set(Slicer3_INSTALL_INCLUDE_DIR "@Slicer3_INSTALL_INCLUDE_DIR@")
122 set(Slicer3_INSTALL_SHARE_DIR "@Slicer3_INSTALL_SHARE_DIR@")
123 set(Slicer3_INSTALL_ITKFACTORIES_DIR "@Slicer3_INSTALL_ITKFACTORIES_DIR@")
124
125 set(Slicer3_INSTALL_PLUGINS_BIN_DIR "@Slicer3_INSTALL_PLUGINS_BIN_DIR@")
126 set(Slicer3_INSTALL_PLUGINS_LIB_DIR "@Slicer3_INSTALL_PLUGINS_LIB_DIR@")
127 set(Slicer3_INSTALL_PLUGINS_INCLUDE_DIR "@Slicer3_INSTALL_PLUGINS_INCLUDE_DIR@")
128 set(Slicer3_INSTALL_PLUGINS_SHARE_DIR "@Slicer3_INSTALL_PLUGINS_SHARE_DIR@")
129 set(Slicer3_INSTALL_PLUGINS_CACHE_DIR "@Slicer3_INSTALL_PLUGINS_CACHE_DIR@")
130
131 set(Slicer3_INSTALL_MODULES_BIN_DIR "@Slicer3_INSTALL_MODULES_BIN_DIR@")
132 set(Slicer3_INSTALL_MODULES_LIB_DIR "@Slicer3_INSTALL_MODULES_LIB_DIR@")
133 set(Slicer3_INSTALL_MODULES_INCLUDE_DIR "@Slicer3_INSTALL_MODULES_INCLUDE_DIR@")
134 set(Slicer3_INSTALL_MODULES_SHARE_DIR "@Slicer3_INSTALL_MODULES_SHARE_DIR@")
135
136 IF(Slicer3_USE_QT AND Slicer3_BUILD_QTLOADABLEMODULES)
137 set(Slicer3_INSTALL_QTLOADABLEMODULES_BIN_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_BIN_DIR@")
138 set(Slicer3_INSTALL_QTLOADABLEMODULES_LIB_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_LIB_DIR@")
139 set(Slicer3_INSTALL_QTLOADABLEMODULES_INCLUDE_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_INCLUDE_DIR@")
140 set(Slicer3_INSTALL_QTLOADABLEMODULES_SHARE_DIR "@Slicer3_INSTALL_QTLOADABLEMODULES_SHARE_DIR@")
141 ENDIF(Slicer3_USE_QT AND Slicer3_BUILD_QTLOADABLEMODULES)
142
143 # Components needed to build modules from outside a Slicer3 build tree or
144 # from outside a Slicer3 installation tree
145 set(TCLAP_DIR "${Slicer3_HOME}/lib/tclap")
146 set(ModuleDescriptionParser_DIR "${Slicer3_HOME}/lib/ModuleDescriptionParser")
147 set(GenerateCLP_DIR "${Slicer3_HOME}/lib/GenerateCLP")
148 set(GenerateLM_DIR "${Slicer3_HOME}/lib/GenerateLM")
149 set(ITK_DIR "${Slicer3_HOME}/lib/InsightToolkit")
150 set(KWWidgets_DIR "${Slicer3_HOME}/lib/KWWidgets")
151 set(LoadableModule_DIR "${Slicer3_HOME}/lib/LoadableModule")
152 set(Teem_DIR "${Slicer3_HOME}/lib/Teem-@Teem_VERSION_MAJOR@.@Teem_VERSION_MINOR@.@Teem_VERSION_PATCH@")
153 set(VTK_DIR "${Slicer3_HOME}/lib/vtk-@VTK_MAJOR_VERSION@.@VTK_MINOR_VERSION@")
154 set(PYTHON_INCLUDE_PATH "@PYTHON_INCLUDE_PATH@")
155 get_filename_component(PYTHON_LIB_FILE "${PYTHON_LIBRARY}" NAME)
156 set(PYTHON_LIBRARIES "${Slicer3_HOME}/lib/Python/lib/${PYTHON_LIB_FILE}")
157 get_filename_component(PYTHON_INCLUDE_DIR "${PYTHON_INCLUDE_PATH}" NAME)
158 set(PYTHON_INCLUDE_PATH "${Slicer3_HOME}/lib/Python/include/${PYTHON_INCLUDE_DIR}")

  Subversion  TortoiseSVN  ViewVC