VTKConfig.cmake.in 9.03 KB
Newer Older
1 2 3 4
#-----------------------------------------------------------------------------
#
# VTKConfig.cmake - VTK CMake configuration file for external projects.
#
5 6
# This file is configured by VTK and used by the UseVTK.cmake module
# to load VTK's settings for an external project.
7
@VTK_CONFIG_INSTALL_ONLY@
8

9
# The VTK include file directories.
10
SET(VTK_INCLUDE_DIRS "@VTK_INCLUDE_DIRS_CONFIG@")
11 12

# The VTK library directories.
13
SET(VTK_LIBRARY_DIRS "@VTK_LIBRARY_DIRS_CONFIG@")
14

15
# The VTK binary executable directories.  Note that if
16 17 18
# VTK_CONFIGURATION_TYPES is set (see below) then these directories
# will be the parent directories under which there will be a directory
# of runtime binaries for each configuration type.
19 20 21 22 23 24
SET(VTK_EXECUTABLE_DIRS "@VTK_EXECUTABLE_DIRS_CONFIG@")

# The VTK runtime library directories.  Note that if
# VTK_CONFIGURATION_TYPES is set (see below) then these directories
# will be the parent directories under which there will be a directory
# of runtime libraries for each configuration type.
25
SET(VTK_RUNTIME_LIBRARY_DIRS "@VTK_RUNTIME_LIBRARY_DIRS_CONFIG@")
26

27
# The runtime library path variable name e.g. LD_LIBRARY_PATH,
28
# this environment variable should be set to VTK_RUNTIME_LIBRARY_DIRS
29 30
SET(VTK_RUNTIME_PATH_VAR_NAME "@SHARED_LIBRARY_PATH_VAR_NAME@")

31 32 33
# The C and C++ flags added by VTK to the cmake-configured flags.
SET(VTK_REQUIRED_C_FLAGS "@VTK_REQUIRED_C_FLAGS@")
SET(VTK_REQUIRED_CXX_FLAGS "@VTK_REQUIRED_CXX_FLAGS@")
34
SET(VTK_REQUIRED_EXE_LINKER_FLAGS "@VTK_REQUIRED_EXE_LINKER_FLAGS@")
35 36
SET(VTK_REQUIRED_SHARED_LINKER_FLAGS "@VTK_REQUIRED_SHARED_LINKER_FLAGS@")
SET(VTK_REQUIRED_MODULE_LINKER_FLAGS "@VTK_REQUIRED_MODULE_LINKER_FLAGS@")
37 38

# The VTK version number
39 40 41
SET(VTK_MAJOR_VERSION "@VTK_MAJOR_VERSION@")
SET(VTK_MINOR_VERSION "@VTK_MINOR_VERSION@")
SET(VTK_BUILD_VERSION "@VTK_BUILD_VERSION@")
42 43 44 45

# The location of the UseVTK.cmake file.
SET(VTK_USE_FILE "@VTK_USE_FILE@")

46 47
# The build settings file.
SET(VTK_BUILD_SETTINGS_FILE "@VTK_BUILD_SETTINGS_FILE@")
48

49 50 51
# The directory containing class list files for each kit.
SET(VTK_KITS_DIR "@VTK_KITS_DIR_CONFIG@")

52 53 54
# The wrapping hints file.
SET(VTK_WRAP_HINTS "@VTK_WRAP_HINTS_CONFIG@")

55 56
# CMake extension module directory and macro file.
SET(VTK_LOAD_CMAKE_EXTENSIONS_MACRO "@VTK_LOAD_CMAKE_EXTENSIONS_MACRO_CONFIG@")
Ken Martin's avatar
Ken Martin committed
57
SET(VTK_CMAKE_DIR "@VTK_CMAKE_DIR_CONFIG@")
58 59
SET(VTK_CMAKE_EXTENSIONS_DIR "@VTK_CMAKE_EXTENSIONS_DIR_CONFIG@")

60 61 62 63 64 65
# The list of available kits.
SET(VTK_KITS "@VTK_KITS@")

# The list of available languages.
SET(VTK_LANGUAGES "@VTK_LANGUAGES@")

66
# VTK Configuration options.
67
SET(VTK_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
68 69
SET(VTK_DEBUG_LEAKS "@VTK_DEBUG_LEAKS@")
SET(VTK_HAVE_VP1000 "@VTK_HAVE_VP1000@")
70 71
SET(VTK_LEGACY_REMOVE "@VTK_LEGACY_REMOVE@")
SET(VTK_LEGACY_SILENT "@VTK_LEGACY_SILENT@")
72
SET(VTK_MPIRUN_EXE "@VTK_MPIRUN_EXE_CONFIG@")
73 74
SET(VTK_MPI_CLIENT_POSTFLAGS "@VTK_MPI_CLIENT_POSTFLAGS_CONFIG@")
SET(VTK_MPI_CLIENT_PREFLAGS "@VTK_MPI_CLIENT_PREFLAGS_CONFIG@")
75
SET(VTK_MPI_MAX_NUMPROCS "@VTK_MPI_MAX_NUMPROCS_CONFIG@")
76
SET(VTK_MPI_PRENUMPROC_FLAGS "@VTK_MPI_PRENUMPROC_FLAGS_CONFIG@")
77
SET(VTK_MPI_NUMPROC_FLAG "@VTK_MPI_NUMPROC_FLAG_CONFIG@")
78 79
SET(VTK_MPI_POSTFLAGS "@VTK_MPI_POSTFLAGS_CONFIG@")
SET(VTK_MPI_PREFLAGS "@VTK_MPI_PREFLAGS_CONFIG@")
80
SET(VTK_MPI_SERVER_POSTFLAGS "@VTK_MPI_SERVER_POSTFLAGS_CONFIG@")
81
SET(VTK_MPI_SERVER_PREFLAGS "@VTK_MPI_SERVER_PREFLAGS_CONFIG@")
82 83 84
SET(VTK_OPENGL_HAS_OSMESA "@VTK_OPENGL_HAS_OSMESA@")
SET(VTK_USE_64BIT_IDS "@VTK_USE_64BIT_IDS@")
SET(VTK_USE_ANSI_STDLIB "@VTK_USE_ANSI_STDLIB@")
85
SET(VTK_USE_BOOST "@VTK_USE_BOOST@")
86
SET(VTK_USE_QT "@VTK_USE_QT@")
87
SET(VTK_USE_CARBON "@VTK_USE_CARBON@")
88
SET(VTK_USE_CG_SHADERS "@VTK_USE_CG_SHADERS@")
89
SET(VTK_USE_CHARTS "@VTK_USE_CHARTS@")
90
SET(VTK_USE_COCOA "@VTK_USE_COCOA@")
Ken Martin's avatar
Ken Martin committed
91
SET(VTK_USE_GEOVIS "@VTK_USE_GEOVIS@")
92
SET(VTK_USE_GL2PS "@VTK_USE_GL2PS@")
93
SET(VTK_USE_GLSL_SHADERS "@VTK_USE_GLSL_SHADERS@")
94
SET(VTK_USE_GNU_R "@VTK_USE_GNU_R@")
95
SET(VTK_USE_GUISUPPORT "@VTK_USE_GUISUPPORT@")
96 97
SET(VTK_USE_INFOVIS "@VTK_USE_INFOVIS@")
SET(VTK_USE_MANGLED_MESA "@VTK_USE_MANGLED_MESA@")
98
SET(VTK_USE_MATLAB_MEX "@VTK_USE_MATLAB_MEX@")
99
SET(VTK_USE_MATROX_IMAGING "@VTK_USE_MATROX_IMAGING@")
100
SET(VTK_USE_METAIO "@VTK_USE_METAIO@")
101
SET(VTK_USE_MFC "@VTK_USE_MFC@")
102
SET(VTK_USE_MPI "@VTK_USE_MPI@")
103
SET(VTK_USE_MYSQL "@VTK_USE_MYSQL@")
104
SET(VTK_USE_N_WAY_ARRAYS "@VTK_USE_N_WAY_ARRAYS@")
105
SET(VTK_USE_ODBC "@VTK_USE_ODBC@")
106
SET(VTK_USE_PARALLEL "@VTK_USE_PARALLEL@")
107
SET(VTK_USE_PARALLEL_BGL "@VTK_USE_PARALLEL_BGL@")
108
SET(VTK_USE_POSTGRES "@VTK_USE_POSTGRES@") 
109
SET(VTK_USE_QVTK "@VTK_USE_QVTK@")
110
SET(VTK_USE_RENDERING "@VTK_USE_RENDERING@")
111
SET(VTK_USE_TDX "@VTK_USE_TDX@")
112
SET(VTK_USE_TEXT_ANALYSIS "@VTK_USE_TEXT_ANALYSIS@")
113
SET(VTK_USE_TK "@VTK_USE_TK@")
114
SET(VTK_USE_TK "@VTK_USE_TK@")
115
SET(VTK_USE_VIDEO_FOR_WINDOWS "@VTK_USE_VIDEO_FOR_WINDOWS@")
116 117
SET(VTK_USE_VIEWS "@VTK_USE_VIEWS@")
SET(VTK_USE_VOLUMEPRO_1000 "@VTK_USE_VOLUMEPRO_1000@")
118 119
SET(VTK_USE_X "@VTK_USE_X@")
SET(VTK_WRAP_JAVA "@VTK_WRAP_JAVA@")
120 121
SET(VTK_WRAP_PYTHON "@VTK_WRAP_PYTHON@")
SET(VTK_WRAP_TCL "@VTK_WRAP_TCL@")
122

123 124 125 126
# The Hybrid and VolumeRendering kits are now switched with Rendering.
SET(VTK_USE_HYBRID "@VTK_USE_RENDERING@")
SET(VTK_USE_VOLUMERENDERING "@VTK_USE_RENDERING@")

127
# The Tcl/Tk configuration.
128 129
SET(VTK_TCL_TK_STATIC "@VTK_TCL_TK_STATIC@")
SET(VTK_TCL_TK_COPY_SUPPORT_LIBRARY "@VTK_TCL_TK_COPY_SUPPORT_LIBRARY@")
130 131
SET(VTK_TCL_SUPPORT_LIBRARY_PATH "@VTK_TCL_SUPPORT_LIBRARY_PATH_CONFIG@")
SET(VTK_TK_SUPPORT_LIBRARY_PATH "@VTK_TK_SUPPORT_LIBRARY_PATH_CONFIG@")
132
SET(VTK_TCL_TK_MACROS_MODULE "@VTK_TCL_TK_MACROS_MODULE_CONFIG@")
133
SET(VTK_TCL_HOME "@VTK_TCL_HOME_CONFIG@")
134 135 136 137 138 139
SET(VTK_WRAP_TCL_EXE "@VTK_WRAP_TCL_EXE_CONFIG@")
SET(VTK_WRAP_TCL_INIT_EXE "@VTK_WRAP_TCL_INIT_EXE_CONFIG@")
SET(VTK_TK_INTERNAL_DIR "@VTK_TK_INTERNAL_DIR_CONFIG@")
SET(VTK_TK_RESOURCES_DIR "@VTK_TK_RESOURCES_DIR_CONFIG@")

# The Java configuration.
140
SET(VTK_JAVA_JAR "@VTK_JAVA_JAR_CONFIG@")
141 142
SET(VTK_PARSE_JAVA_EXE "@VTK_PARSE_JAVA_EXE_CONFIG@")
SET(VTK_WRAP_JAVA_EXE "@VTK_WRAP_JAVA_EXE_CONFIG@")
143

144 145 146 147 148
# The Matlab configuration.
SET(VTK_MATLAB_ROOT_DIR "@MATLAB_ROOT_DIR@")
SET(VTK_MATLAB_INCLUDE_DIR "@MATLAB_INCLUDE_DIR@")
SET(VTK_MATLAB_LIB_DIR "@MATLAB_LIB_DIR@")

149
# The Python configuration.
150
# If VTK_CONFIGURATION_TYPES is set (see below) then the VTK_PYTHONPATH_DIRS
151
# will have subdirectories for each configuration type.
152
SET(VTK_PYTHONPATH_DIRS "@VTK_PYTHONPATH_DIRS_CONFIG@")
153
SET(VTK_WRAP_PYTHON_EXE "@VTK_WRAP_PYTHON_EXE_CONFIG@")
154
SET(VTK_WRAP_PYTHON_INIT_EXE "@VTK_WRAP_PYTHON_INIT_EXE_CONFIG@")
155

156 157 158
# Other executables
SET(VTK_ENCODESTRING_EXE "@VTK_ENCODESTRING_EXE_CONFIG@")

159
# The Doxygen configuration.
160
SET(VTK_DOXYGEN_HOME "@VTK_DOXYGEN_HOME_CONFIG@")
161

162 163 164
# The VTK test script locations.
SET(VTK_HEADER_TESTING_PY "@VTK_HEADER_TESTING_PY_CONFIG@")
SET(VTK_FIND_STRING_TCL "@VTK_FIND_STRING_TCL_CONFIG@")
165 166 167
SET(VTK_PRINT_SELF_CHECK_TCL "@VTK_PRINT_SELF_CHECK_TCL_CONFIG@")
SET(VTK_RT_IMAGE_TEST_TCL "@VTK_RT_IMAGE_TEST_TCL_CONFIG@")
SET(VTK_PRT_IMAGE_TEST_TCL "@VTK_PRT_IMAGE_TEST_TCL_CONFIG@")
168

169
# The names of utility libraries used by VTK.
170 171 172 173 174 175
SET(VTK_PNG_LIBRARIES      "@VTK_PNG_LIBRARIES@")
SET(VTK_ZLIB_LIBRARIES     "@VTK_ZLIB_LIBRARIES@")
SET(VTK_JPEG_LIBRARIES     "@VTK_JPEG_LIBRARIES@")
SET(VTK_TIFF_LIBRARIES     "@VTK_TIFF_LIBRARIES@")
SET(VTK_EXPAT_LIBRARIES    "@VTK_EXPAT_LIBRARIES@")
SET(VTK_FREETYPE_LIBRARIES "@VTK_FREETYPE_LIBRARIES@")
176
SET(VTK_LIBXML2_LIBRARIES  "@VTK_LIBXML2_LIBRARIES@")
177
SET(VTK_LIBPROJ4_LIBRARIES  "@VTK_LIBPROJ4_LIBRARIES@")
178

179 180 181 182 183
# The VTK Qt configuration.
IF(VTK_USE_QVTK)
  INCLUDE(${VTK_DIR}/VTKConfigQt.cmake)
ENDIF(VTK_USE_QVTK)

184 185 186 187 188 189
# Relative install paths in the VTK install tree
SET(VTK_INSTALL_BIN_DIR "@VTK_INSTALL_BIN_DIR@")
SET(VTK_INSTALL_INCLUDE_DIR "@VTK_INSTALL_INCLUDE_DIR@")
SET(VTK_INSTALL_LIB_DIR "@VTK_INSTALL_LIB_DIR@")
SET(VTK_INSTALL_PACKAGE_DIR "@VTK_INSTALL_PACKAGE_DIR@")

190 191 192 193 194 195 196 197 198 199 200 201 202 203
# A VTK install tree always provides one build configuration.  A VTK
# build tree may provide either one or multiple build configurations
# depending on the CMake generator used.  Since VTK can be used either
# from a build tree or an install tree it is useful for outside
# projects to know the configurations available.  If this
# VTKConfig.cmake is in a VTK install tree VTK_CONFIGURATION_TYPES
# will be empty and VTK_BUILD_TYPE will be set to the value of
# CMAKE_BUILD_TYPE used to build VTK.  If VTKConfig.cmake is in a VTK
# build tree then VTK_CONFIGURATION_TYPES and VTK_BUILD_TYPE will have
# values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE for
# that build tree (only one will ever be set).
SET(VTK_CONFIGURATION_TYPES @VTK_CONFIGURATION_TYPES_CONFIG@)
SET(VTK_BUILD_TYPE @VTK_BUILD_TYPE_CONFIG@)

204
# The VTK library dependencies.
Sebastien Barre's avatar
Sebastien Barre committed
205
IF(NOT VTK_NO_LIBRARY_DEPENDS AND EXISTS "@VTK_LIBRARY_DEPENDS_FILE@")
206
  INCLUDE("@VTK_LIBRARY_DEPENDS_FILE@")
Sebastien Barre's avatar
Sebastien Barre committed
207
ENDIF(NOT VTK_NO_LIBRARY_DEPENDS AND EXISTS "@VTK_LIBRARY_DEPENDS_FILE@")
Andy Cedilnik's avatar
Andy Cedilnik committed
208

209 210 211 212
# The old, less clear name for VTK_RUNTIME_LIBRARY_DIRS.  Kept here
# for compatibility.
SET(VTK_RUNTIME_DIRS ${VTK_RUNTIME_LIBRARY_DIRS})

213 214 215 216
# The name of the encoders used by VTK
SET( VTK_USE_FFMPEG_ENCODER "@VTK_USE_FFMPEG_ENCODER@" )
SET( VTK_USE_OGGTHEORA_ENCODER "@VTK_USE_OGGTHEORA_ENCODER@")

Andy Cedilnik's avatar
Andy Cedilnik committed
217
@VTK_CONFIG_BACKWARD_COMPATIBILITY_HACK@