VTKConfig.cmake.in 6.65 KB
Newer Older
1
2
3
4
#-----------------------------------------------------------------------------
#
# VTKConfig.cmake - VTK CMake configuration file for external projects.
#
Brad King's avatar
Brad King committed
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
# The VTK include file directories.
Brad King's avatar
Brad King committed
9
SET(VTK_INCLUDE_DIRS "@VTK_INCLUDE_DIRS_CONFIG@")
10
11

# The VTK library directories.
Brad King's avatar
Brad King committed
12
SET(VTK_LIBRARY_DIRS "@VTK_LIBRARY_DIRS_CONFIG@")
13

14
15
16
17
# 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 binaries for each configuration type.
18
SET(VTK_RUNTIME_LIBRARY_DIRS "@VTK_RUNTIME_LIBRARY_DIRS_CONFIG@")
19

Brad King's avatar
Brad King committed
20
21
22
# 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@")
23
SET(VTK_REQUIRED_EXE_LINKER_FLAGS "@VTK_REQUIRED_EXE_LINKER_FLAGS@")
24
25
SET(VTK_REQUIRED_SHARED_LINKER_FLAGS "@VTK_REQUIRED_SHARED_LINKER_FLAGS@")
SET(VTK_REQUIRED_MODULE_LINKER_FLAGS "@VTK_REQUIRED_MODULE_LINKER_FLAGS@")
26
27

# The VTK version number
28
29
30
SET(VTK_MAJOR_VERSION "@VTK_MAJOR_VERSION@")
SET(VTK_MINOR_VERSION "@VTK_MINOR_VERSION@")
SET(VTK_BUILD_VERSION "@VTK_BUILD_VERSION@")
31
32
33
34

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

Brad King's avatar
Brad King committed
35
36
# The build settings file.
SET(VTK_BUILD_SETTINGS_FILE "@VTK_BUILD_SETTINGS_FILE@")
37

38
39
40
# The directory containing class list files for each kit.
SET(VTK_KITS_DIR "@VTK_KITS_DIR_CONFIG@")

41
42
43
# The wrapping hints file.
SET(VTK_WRAP_HINTS "@VTK_WRAP_HINTS_CONFIG@")

44
45
# 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
46
SET(VTK_CMAKE_DIR "@VTK_CMAKE_DIR_CONFIG@")
47
48
SET(VTK_CMAKE_EXTENSIONS_DIR "@VTK_CMAKE_EXTENSIONS_DIR_CONFIG@")

Brad King's avatar
Brad King committed
49
50
51
52
53
54
# The list of available kits.
SET(VTK_KITS "@VTK_KITS@")

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

55
# VTK Configuration options.
56
SET(VTK_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
57
SET(VTK_DEBUG_LEAKS "@VTK_DEBUG_LEAKS@")
58
SET(VTK_USE_TK "@VTK_USE_TK@")
59
SET(VTK_HAVE_VP1000 "@VTK_HAVE_VP1000@")
60
SET(VTK_USE_MANGLED_MESA "@VTK_USE_MANGLED_MESA@")
61
62
63
64
SET(VTK_MPIRUN_EXE "@VTK_MPIRUN_EXE_CONFIG@")
SET(VTK_MPI_MAX_NUMPROCS "@VTK_MPI_PREFLAGS_CONFIG@")
SET(VTK_MPI_POSTFLAGS "@VTK_MPI_POSTFLAGS_CONFIG@")
SET(VTK_MPI_PREFLAGS "@VTK_MPI_PREFLAGS_CONFIG@")
65
66
67
68
SET(VTK_MPI_CLIENT_PREFLAGS "@VTK_MPI_CLIENT_PREFLAGS_CONFIG@")
SET(VTK_MPI_SERVER_PREFLAGS "@VTK_MPI_SERVER_PREFLAGS_CONFIG@")
SET(VTK_MPI_CLIENT_POSTFLAGS "@VTK_MPI_CLIENT_POSTFLAGS_CONFIG@")
SET(VTK_MPI_SERVER_POSTFLAGS "@VTK_MPI_SERVER_POSTFLAGS_CONFIG@")
69
70
71
72
73
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@")
SET(VTK_USE_CARBON "@VTK_USE_CARBON@")
SET(VTK_USE_COCOA "@VTK_USE_COCOA@")
74
SET(VTK_USE_GUISUPPORT "@VTK_USE_GUISUPPORT@")
75
SET(VTK_USE_MATROX_IMAGING "@VTK_USE_MATROX_IMAGING@")
76
77
SET(VTK_USE_MFC "@VTK_USE_MFC@")
SET(VTK_USE_QVTK "@VTK_USE_QVTK@")
Brad King's avatar
Brad King committed
78
79
80
SET(VTK_USE_MPI "@VTK_USE_MPI@")
SET(VTK_USE_PARALLEL "@VTK_USE_PARALLEL@")
SET(VTK_USE_RENDERING "@VTK_USE_RENDERING@")
81
SET(VTK_USE_VIDEO_FOR_WINDOWS "@VTK_USE_VIDEO_FOR_WINDOWS@")
82
SET(VTK_USE_GL2PS "@VTK_USE_GL2PS@")
83
84
SET(VTK_USE_X "@VTK_USE_X@")
SET(VTK_WRAP_JAVA "@VTK_WRAP_JAVA@")
Brad King's avatar
Brad King committed
85
86
SET(VTK_WRAP_PYTHON "@VTK_WRAP_PYTHON@")
SET(VTK_WRAP_TCL "@VTK_WRAP_TCL@")
87
88
SET(VTK_LEGACY_REMOVE "@VTK_LEGACY_REMOVE@")
SET(VTK_LEGACY_SILENT "@VTK_LEGACY_SILENT@")
89

90
91
92
93
# The Hybrid and VolumeRendering kits are now switched with Rendering.
SET(VTK_USE_HYBRID "@VTK_USE_RENDERING@")
SET(VTK_USE_VOLUMERENDERING "@VTK_USE_RENDERING@")

94
# The Tcl/Tk configuration.
95
96
SET(VTK_TCL_TK_STATIC "@VTK_TCL_TK_STATIC@")
SET(VTK_TCL_TK_COPY_SUPPORT_LIBRARY "@VTK_TCL_TK_COPY_SUPPORT_LIBRARY@")
97
98
SET(VTK_TCL_SUPPORT_LIBRARY_PATH "@VTK_TCL_SUPPORT_LIBRARY_PATH_CONFIG@")
SET(VTK_TK_SUPPORT_LIBRARY_PATH "@VTK_TK_SUPPORT_LIBRARY_PATH_CONFIG@")
99
SET(VTK_TCL_TK_MACROS_MODULE "@VTK_TCL_TK_MACROS_MODULE_CONFIG@")
100
SET(VTK_TCL_HOME "@VTK_TCL_HOME_CONFIG@")
101
102
103
104
105
106
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.
107
SET(VTK_JAVA_JAR "@VTK_JAVA_JAR_CONFIG@")
108
109
SET(VTK_PARSE_JAVA_EXE "@VTK_PARSE_JAVA_EXE_CONFIG@")
SET(VTK_WRAP_JAVA_EXE "@VTK_WRAP_JAVA_EXE_CONFIG@")
110
111

# The Python configuration.
112
SET(VTK_WRAP_PYTHON_EXE "@VTK_WRAP_PYTHON_EXE_CONFIG@")
113
SET(VTK_WRAP_PYTHON_INIT_EXE "@VTK_WRAP_PYTHON_INIT_EXE_CONFIG@")
114
115

# The Doxygen configuration.
116
SET(VTK_DOXYGEN_HOME "@VTK_DOXYGEN_HOME_CONFIG@")
117

118
119
120
# 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@")
121
122
123
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@")
124

125
# The names of utility libraries used by VTK.
126
127
128
129
130
131
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@")
132

133
134
135
136
137
# The VTK Qt configuration.
IF(VTK_USE_QVTK)
  INCLUDE(${VTK_DIR}/VTKConfigQt.cmake)
ENDIF(VTK_USE_QVTK)

138
139
140
141
142
143
144
145
146
147
148
149
150
151
# 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@)

152
# The VTK library dependencies.
153
IF(NOT VTK_NO_LIBRARY_DEPENDS AND EXISTS "@VTK_LIBRARY_DEPENDS_FILE@")
154
  INCLUDE("@VTK_LIBRARY_DEPENDS_FILE@")
155
ENDIF(NOT VTK_NO_LIBRARY_DEPENDS AND EXISTS "@VTK_LIBRARY_DEPENDS_FILE@")
Andy Cedilnik's avatar
Andy Cedilnik committed
156

157
158
159
160
# The old, less clear name for VTK_RUNTIME_LIBRARY_DIRS.  Kept here
# for compatibility.
SET(VTK_RUNTIME_DIRS ${VTK_RUNTIME_LIBRARY_DIRS})

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