STYLE: Nightly Version update
[cmake.git] / Modules / UseVTKConfig40.cmake
blob8795f888fde9d4630046979f5541afc13d8c5272
1 # This is an implementation detail for using VTK 4.0 with the
2 # FindVTK.cmake module.  Do not include directly.
4 # Hard-code the version number since it isn't provided by VTK 4.0.
5 SET(VTK_MAJOR_VERSION 4)
6 SET(VTK_MINOR_VERSION 0)
7 SET(VTK_BUILD_VERSION 2)
9 # Provide a new UseVTK file that doesn't do a full LOAD_CACHE.
10 SET(VTK_USE_FILE ${CMAKE_ROOT}/Modules/UseVTK40.cmake)
12 # Provide a build settings file.
13 SET(VTK_BUILD_SETTINGS_FILE ${CMAKE_ROOT}/Modules/UseVTKBuildSettings40.cmake)
15 # There are no CMake extensions for VTK 4.0.
16 SET(VTK_CMAKE_EXTENSIONS_DIR "")
18 # grep "VTK40_" UseVTKConfig40.cmake |sed 's/.*VTK40_\([A-Za-z0-9_]*\).*/  \1/'
19 LOAD_CACHE(${VTK_DIR} READ_WITH_PREFIX VTK40_
20   BUILD_SHARED_LIBS
21   CMAKE_BUILD_TOOL
22   CMAKE_BUILD_TYPE
23   CMAKE_CACHE_MAJOR_VERSION
24   CMAKE_CACHE_MINOR_VERSION
25   CMAKE_CXX_COMPILER
26   CMAKE_CXX_FLAGS
27   CMAKE_CXX_FLAGS_DEBUG
28   CMAKE_CXX_FLAGS_MINSIZEREL
29   CMAKE_CXX_FLAGS_RELEASE
30   CMAKE_CXX_FLAGS_RELWITHDEBINFO
31   CMAKE_C_COMPILER
32   CMAKE_C_FLAGS
33   CMAKE_C_FLAGS_DEBUG
34   CMAKE_C_FLAGS_MINSIZEREL
35   CMAKE_C_FLAGS_RELEASE
36   CMAKE_C_FLAGS_RELWITHDEBINFO
37   CMAKE_INSTALL_PREFIX
38   CMAKE_Xutil_INCLUDE_PATH
39   EXECUTABLE_OUTPUT_PATH
40   JAVA_INCLUDE_PATH2
41   LIBRARY_OUTPUT_PATH
42   MPIRUN
43   MPI_INCLUDE_PATH
44   MPI_POSTFLAGS
45   MPI_PREFLAGS
46   OPENGL_INCLUDE_DIR
47   OSMESA_INCLUDE_PATH
48   PYTHON_INCLUDE_PATH
49   TCL_INCLUDE_PATH
50   VLI_INCLUDE_PATH_FOR_VG500
51   VLI_INCLUDE_PATH_FOR_VP1000
52   VTK_BINARY_DIR
53   VTK_DEBUG_LEAKS
54   VTK_HAVE_VG500
55   VTK_HAVE_VP1000
56   VTK_MANGLE_MESA
57   VTK_OPENGL_HAS_OSMESA
58   VTK_PARSE_JAVA_EXE
59   VTK_SOURCE_DIR
60   VTK_USE_64BIT_IDS
61   VTK_USE_ANSI_STDLIB
62   VTK_USE_HYBRID
63   VTK_USE_MATROX_IMAGING
64   VTK_USE_MPI
65   VTK_USE_PARALLEL
66   VTK_USE_PATENTED
67   VTK_USE_RENDERING
68   VTK_USE_VIDEO_FOR_WINDOWS
69   VTK_USE_VOLUMEPRO
70   VTK_USE_X
71   VTK_WRAP_JAVA
72   VTK_WRAP_JAVA_EXE
73   VTK_WRAP_PYTHON
74   VTK_WRAP_PYTHON_EXE
75   VTK_WRAP_TCL
76   VTK_WRAP_TCL_EXE
77   vtkCommonJava_LIB_DEPENDS
78   vtkCommonPython_LIB_DEPENDS
79   vtkCommonTCL_LIB_DEPENDS
80   vtkCommon_LIB_DEPENDS
81   vtkFilteringJava_LIB_DEPENDS
82   vtkFilteringPython_LIB_DEPENDS
83   vtkFilteringTCL_LIB_DEPENDS
84   vtkFiltering_LIB_DEPENDS
85   vtkGraphicsJava_LIB_DEPENDS
86   vtkGraphicsPython_LIB_DEPENDS
87   vtkGraphicsTCL_LIB_DEPENDS
88   vtkGraphics_LIB_DEPENDS
89   vtkHybridJava_LIB_DEPENDS
90   vtkHybridPython_LIB_DEPENDS
91   vtkHybridTCL_LIB_DEPENDS
92   vtkHybrid_LIB_DEPENDS
93   vtkIOJava_LIB_DEPENDS
94   vtkIOPython_LIB_DEPENDS
95   vtkIOTCL_LIB_DEPENDS
96   vtkIO_LIB_DEPENDS
97   vtkImagingJava_LIB_DEPENDS
98   vtkImagingPython_LIB_DEPENDS
99   vtkImagingTCL_LIB_DEPENDS
100   vtkImaging_LIB_DEPENDS
101   vtkParallelJava_LIB_DEPENDS
102   vtkParallelPython_LIB_DEPENDS
103   vtkParallelTCL_LIB_DEPENDS
104   vtkParallel_LIB_DEPENDS
105   vtkPatentedJava_LIB_DEPENDS
106   vtkPatentedPython_LIB_DEPENDS
107   vtkPatentedTCL_LIB_DEPENDS
108   vtkPatented_LIB_DEPENDS
109   vtkRenderingJava_LIB_DEPENDS
110   vtkRenderingPythonTkWidgets_LIB_DEPENDS
111   vtkRenderingPython_LIB_DEPENDS
112   vtkRenderingTCL_LIB_DEPENDS
113   vtkRendering_LIB_DEPENDS
114   vtkjpeg_LIB_DEPENDS
115   vtkpng_LIB_DEPENDS
116   vtkzlib_LIB_DEPENDS
119 # Copy needed settings from the VTK 4.0 cache.
120 SET(VTK_BUILD_SHARED ${VTK40_BUILD_SHARED_LIBS})
121 SET(VTK_DEBUG_LEAKS ${VTK40_VTK_DEBUG_LEAKS})
122 SET(VTK_HAVE_VG500 ${VTK40_VTK_HAVE_VG500})
123 SET(VTK_HAVE_VP1000 ${VTK40_VTK_HAVE_VP1000})
124 SET(VTK_USE_MANGLED_MESA ${VTK40_VTK_MANGLE_MESA})
125 SET(VTK_MPIRUN_EXE ${VTK40_MPIRUN})
126 SET(VTK_MPI_POSTFLAGS ${VTK40_MPI_POSTFLAGS})
127 SET(VTK_MPI_PREFLAGS ${VTK40_MPI_PREFLAGS})
128 SET(VTK_OPENGL_HAS_OSMESA ${VTK40_VTK_OPENGL_HAS_OSMESA})
129 SET(VTK_USE_64BIT_IDS ${VTK40_VTK_USE_64BIT_IDS})
130 SET(VTK_USE_ANSI_STDLIB ${VTK40_VTK_USE_ANSI_STDLIB})
131 SET(VTK_USE_HYBRID ${VTK40_VTK_USE_HYBRID})
132 SET(VTK_USE_MATROX_IMAGING ${VTK40_VTK_USE_MATROX_IMAGING})
133 SET(VTK_USE_MPI ${VTK40_VTK_USE_MPI})
134 SET(VTK_USE_PARALLEL ${VTK40_VTK_USE_PARALLEL})
135 SET(VTK_USE_PATENTED ${VTK40_VTK_USE_PATENTED})
136 SET(VTK_USE_RENDERING ${VTK40_VTK_USE_RENDERING})
137 SET(VTK_USE_VIDEO_FOR_WINDOWS ${VTK40_VTK_USE_VIDEO_FOR_WINDOWS})
138 SET(VTK_USE_VOLUMEPRO ${VTK40_VTK_USE_VOLUMEPRO})
139 SET(VTK_USE_X ${VTK40_VTK_USE_X})
140 SET(VTK_WRAP_JAVA ${VTK40_VTK_WRAP_JAVA})
141 SET(VTK_WRAP_PYTHON ${VTK40_VTK_WRAP_PYTHON})
142 SET(VTK_WRAP_TCL ${VTK40_VTK_WRAP_TCL})
144 # Create the list of available kits.
145 SET(VTK_KITS COMMON FILTERING GRAPHICS IMAGING IO)
146 IF(VTK_USE_RENDERING)
147   SET(VTK_KITS ${VTK_KITS} RENDERING)
148 ENDIF(VTK_USE_RENDERING)
149 IF(VTK_USE_HYBRID)
150   SET(VTK_KITS ${VTK_KITS} HYBRID)
151 ENDIF(VTK_USE_HYBRID)
152 IF(VTK_USE_PARALLEL)
153   SET(VTK_KITS ${VTK_KITS} PARALLEL)
154 ENDIF(VTK_USE_PARALLEL)
155 IF(VTK_USE_PATENTED)
156   SET(VTK_KITS ${VTK_KITS} PATENTED)
157 ENDIF(VTK_USE_PATENTED)
159 # Create the list of available languages.
160 SET(VTK_LANGUAGES "")
161 IF(VTK_WRAP_TCL)
162   SET(VTK_LANGUAGES ${VTK_LANGUAGES} TCL)
163 ENDIF(VTK_WRAP_TCL)
164 IF(VTK_WRAP_PYTHON)
165   SET(VTK_LANGUAGES ${VTK_LANGUAGES} PYTHON)
166 ENDIF(VTK_WRAP_PYTHON)
167 IF(VTK_WRAP_JAVA)
168   SET(VTK_LANGUAGES ${VTK_LANGUAGES} JAVA)
169 ENDIF(VTK_WRAP_JAVA)
171 # Include directories for other projects installed on the system and
172 # used by VTK.
173 SET(VTK_INCLUDE_DIRS_SYS "")
174 IF(VTK_USE_RENDERING)
175   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS}
176       ${VTK40_OPENGL_INCLUDE_PATH} ${VTK40_OPENGL_INCLUDE_DIR})
177   IF(VTK_USE_X)
178     SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS}
179         ${VTK40_CMAKE_Xlib_INCLUDE_PATH} ${VTK40_CMAKE_Xutil_INCLUDE_PATH})
180   ENDIF(VTK_USE_X)
181 ENDIF(VTK_USE_RENDERING)
183 IF(VTK_OPENGL_HAS_OSMESA)
184   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS}
185       ${VTK40_OSMESA_INCLUDE_PATH})
186 ENDIF(VTK_OPENGL_HAS_OSMESA)
188 IF(VTK_USE_MPI)
189   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_MPI_INCLUDE_PATH})
190 ENDIF(VTK_USE_MPI)
192 IF(VTK_WRAP_TCL)
193   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_TCL_INCLUDE_PATH})
194 ENDIF(VTK_WRAP_TCL)
196 IF(VTK_WRAP_PYTHON)
197   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS} ${VTK40_PYTHON_INCLUDE_PATH})
198 ENDIF(VTK_WRAP_PYTHON)
200 IF(VTK_WRAP_JAVA)
201   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS}
202       ${VTK40_JAVA_INCLUDE_PATH} ${VTK40_JAVA_INCLUDE_PATH2})
203 ENDIF(VTK_WRAP_JAVA)
205 IF(VTK_HAVE_VG500)
206   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS}
207       ${VTK40_VLI_INCLUDE_PATH_FOR_VG500})
208 ENDIF(VTK_HAVE_VG500)
210 IF(VTK_HAVE_VP1000)
211   SET(VTK_INCLUDE_DIRS_SYS ${VTK_INCLUDE_DIRS_SYS}
212       ${VTK40_VLI_INCLUDE_PATH_FOR_VP1000})
213 ENDIF(VTK_HAVE_VP1000)
215 # See if this is a build tree or install tree.
216 IF(EXISTS ${VTK_DIR}/Common)
217   # This is a VTK 4.0 build tree.
219   SET(VTK_LIBRARY_DIRS ${VTK40_LIBRARY_OUTPUT_PATH})
221   # Determine the include directories needed.
222   SET(VTK_INCLUDE_DIRS ${VTK40_VTK_BINARY_DIR})
223   IF(VTK_USE_PARALLEL)
224     SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Parallel)
225   ENDIF(VTK_USE_PARALLEL)
226   IF(VTK_USE_HYBRID)
227     SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Hybrid)
228   ENDIF(VTK_USE_HYBRID)
229   IF(VTK_USE_PATENTED)
230     SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Patented)
231   ENDIF(VTK_USE_PATENTED)
232   IF(VTK_USE_RENDERING)
233     SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK40_VTK_SOURCE_DIR}/Rendering)
234   ENDIF(VTK_USE_RENDERING)
236   # These directories are always needed.
237   SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS}
238     ${VTK40_VTK_SOURCE_DIR}/IO
239     ${VTK40_VTK_SOURCE_DIR}/Imaging
240     ${VTK40_VTK_SOURCE_DIR}/Graphics
241     ${VTK40_VTK_SOURCE_DIR}/Filtering
242     ${VTK40_VTK_SOURCE_DIR}/Common)
244   # Give access to a few utilities.
245   SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS}
246     ${VTK40_VTK_BINARY_DIR}/Utilities/png
247     ${VTK40_VTK_SOURCE_DIR}/Utilities/png
248     ${VTK40_VTK_BINARY_DIR}/Utilities/zlib
249     ${VTK40_VTK_SOURCE_DIR}/Utilities/zlib)
251   # Executable locations.
252   IF(VTK_WRAP_TCL)
253     SET(VTK_TCL_EXE ${VTK40_EXECUTABLE_OUTPUT_PATH}/vtk)
254     SET(VTK_WRAP_TCL_EXE ${VTK40_VTK_WRAP_TCL_EXE})
255     SET(VTK_TCL_HOME ${VTK40_VTK_SOURCE_DIR}/Wrapping/Tcl)
256   ENDIF(VTK_WRAP_TCL)
257   IF(VTK_WRAP_PYTHON)
258     SET(VTK_WRAP_PYTHON_EXE ${VTK40_VTK_WRAP_PYTHON_EXE})
259   ENDIF(VTK_WRAP_PYTHON)
260   IF(VTK_WRAP_JAVA)
261     SET(VTK_PARSE_JAVA_EXE ${VTK40_VTK_PARSE_JAVA_EXE})
262     SET(VTK_WRAP_JAVA_EXE ${VTK40_VTK_WRAP_JAVA_EXE})
263   ENDIF(VTK_WRAP_JAVA)
265 ELSE(EXISTS ${VTK_DIR}/Common)
266   # This is a VTK 4.0 install tree.
268   SET(VTK_INCLUDE_DIRS ${VTK_DIR})
269   SET(VTK_LIBRARY_DIRS ${VTK40_CMAKE_INSTALL_PREFIX}/lib/vtk)
271   # Executable locations.
272   IF(VTK_WRAP_TCL)
273     SET(VTK_TCL_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtk)
274     SET(VTK_WRAP_TCL_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkWrapTcl)
275     SET(VTK_TCL_HOME ${VTK40_CMAKE_INSTALL_PREFIX}/lib/vtk/tcl)
276   ENDIF(VTK_WRAP_TCL)
277   IF(VTK_WRAP_PYTHON)
278     SET(VTK_WRAP_PYTHON_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkWrapPython)
279   ENDIF(VTK_WRAP_PYTHON)
280   IF(VTK_WRAP_JAVA)
281     SET(VTK_PARSE_JAVA_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkParseJava)
282     SET(VTK_WRAP_JAVA_EXE ${VTK40_CMAKE_INSTALL_PREFIX}/bin/vtkWrapJava)
283   ENDIF(VTK_WRAP_JAVA)
284 ENDIF(EXISTS ${VTK_DIR}/Common)
286 # Add the system include directories last.
287 SET(VTK_INCLUDE_DIRS ${VTK_INCLUDE_DIRS} ${VTK_INCLUDE_DIRS_SYS})
289 # Find the required C and C++ compiler flags.
290 IF(CMAKE_COMPILER_IS_GNUCXX)
291   IF(WIN32)
292     # The platform is gcc on cygwin.
293     SET(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} -mwin32")
294     SET(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} -mwin32")
295   ENDIF(WIN32)
296 ELSE(CMAKE_COMPILER_IS_GNUCXX)
297   IF(CMAKE_ANSI_CFLAGS)
298     SET(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
299   ENDIF(CMAKE_ANSI_CFLAGS)
300   IF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
301      SET(VTK_REQUIRED_CXX_FLAGS
302          "${VTK_REQUIRED_CXX_FLAGS} -timplicit_local -no_implicit_include")
303   ENDIF(CMAKE_SYSTEM MATCHES "OSF1-V.*")
304 ENDIF(CMAKE_COMPILER_IS_GNUCXX)
306 IF(VTK_USE_X)
307   IF(CMAKE_X_CFLAGS)
308     SET(VTK_REQUIRED_C_FLAGS "${VTK_REQUIRED_C_FLAGS} ${CMAKE_X_CFLAGS}")
309     SET(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} ${CMAKE_X_CFLAGS}")
310   ENDIF(CMAKE_X_CFLAGS)
311 ENDIF(VTK_USE_X)
313 # Copy library dependencies.
314 SET(vtkCommonJava_LIB_DEPENDS "${VTK40_vtkCommonJava_LIB_DEPENDS}")
315 SET(vtkCommonPython_LIB_DEPENDS "${VTK40_vtkCommonPython_LIB_DEPENDS}")
316 SET(vtkCommonTCL_LIB_DEPENDS "${VTK40_vtkCommonTCL_LIB_DEPENDS}")
317 SET(vtkCommon_LIB_DEPENDS "${VTK40_vtkCommon_LIB_DEPENDS}")
318 SET(vtkFilteringJava_LIB_DEPENDS "${VTK40_vtkFilteringJava_LIB_DEPENDS}")
319 SET(vtkFilteringPython_LIB_DEPENDS "${VTK40_vtkFilteringPython_LIB_DEPENDS}")
320 SET(vtkFilteringTCL_LIB_DEPENDS "${VTK40_vtkFilteringTCL_LIB_DEPENDS}")
321 SET(vtkFiltering_LIB_DEPENDS "${VTK40_vtkFiltering_LIB_DEPENDS}")
322 SET(vtkGraphicsJava_LIB_DEPENDS "${VTK40_vtkGraphicsJava_LIB_DEPENDS}")
323 SET(vtkGraphicsPython_LIB_DEPENDS "${VTK40_vtkGraphicsPython_LIB_DEPENDS}")
324 SET(vtkGraphicsTCL_LIB_DEPENDS "${VTK40_vtkGraphicsTCL_LIB_DEPENDS}")
325 SET(vtkGraphics_LIB_DEPENDS "${VTK40_vtkGraphics_LIB_DEPENDS}")
326 SET(vtkHybridJava_LIB_DEPENDS "${VTK40_vtkHybridJava_LIB_DEPENDS}")
327 SET(vtkHybridPython_LIB_DEPENDS "${VTK40_vtkHybridPython_LIB_DEPENDS}")
328 SET(vtkHybridTCL_LIB_DEPENDS "${VTK40_vtkHybridTCL_LIB_DEPENDS}")
329 SET(vtkHybrid_LIB_DEPENDS "${VTK40_vtkHybrid_LIB_DEPENDS}")
330 SET(vtkIOJava_LIB_DEPENDS "${VTK40_vtkIOJava_LIB_DEPENDS}")
331 SET(vtkIOPython_LIB_DEPENDS "${VTK40_vtkIOPython_LIB_DEPENDS}")
332 SET(vtkIOTCL_LIB_DEPENDS "${VTK40_vtkIOTCL_LIB_DEPENDS}")
333 SET(vtkIO_LIB_DEPENDS "${VTK40_vtkIO_LIB_DEPENDS}")
334 SET(vtkImagingJava_LIB_DEPENDS "${VTK40_vtkImagingJava_LIB_DEPENDS}")
335 SET(vtkImagingPython_LIB_DEPENDS "${VTK40_vtkImagingPython_LIB_DEPENDS}")
336 SET(vtkImagingTCL_LIB_DEPENDS "${VTK40_vtkImagingTCL_LIB_DEPENDS}")
337 SET(vtkImaging_LIB_DEPENDS "${VTK40_vtkImaging_LIB_DEPENDS}")
338 SET(vtkParallelJava_LIB_DEPENDS "${VTK40_vtkParallelJava_LIB_DEPENDS}")
339 SET(vtkParallelPython_LIB_DEPENDS "${VTK40_vtkParallelPython_LIB_DEPENDS}")
340 SET(vtkParallelTCL_LIB_DEPENDS "${VTK40_vtkParallelTCL_LIB_DEPENDS}")
341 SET(vtkParallel_LIB_DEPENDS "${VTK40_vtkParallel_LIB_DEPENDS}")
342 SET(vtkPatentedJava_LIB_DEPENDS "${VTK40_vtkPatentedJava_LIB_DEPENDS}")
343 SET(vtkPatentedPython_LIB_DEPENDS "${VTK40_vtkPatentedPython_LIB_DEPENDS}")
344 SET(vtkPatentedTCL_LIB_DEPENDS "${VTK40_vtkPatentedTCL_LIB_DEPENDS}")
345 SET(vtkPatented_LIB_DEPENDS "${VTK40_vtkPatented_LIB_DEPENDS}")
346 SET(vtkRenderingJava_LIB_DEPENDS "${VTK40_vtkRenderingJava_LIB_DEPENDS}")
347 SET(vtkRenderingPythonTkWidgets_LIB_DEPENDS "${VTK40_vtkRenderingPythonTkWidgets_LIB_DEPENDS}")
348 SET(vtkRenderingPython_LIB_DEPENDS "${VTK40_vtkRenderingPython_LIB_DEPENDS}")
349 SET(vtkRenderingTCL_LIB_DEPENDS "${VTK40_vtkRenderingTCL_LIB_DEPENDS}")
350 SET(vtkRendering_LIB_DEPENDS "${VTK40_vtkRendering_LIB_DEPENDS}")
351 SET(vtkjpeg_LIB_DEPENDS "${VTK40_vtkjpeg_LIB_DEPENDS}")
352 SET(vtkpng_LIB_DEPENDS "${VTK40_vtkpng_LIB_DEPENDS}")
353 SET(vtkzlib_LIB_DEPENDS "${VTK40_vtkzlib_LIB_DEPENDS}")
355 # List of VTK configuration variables set above.
356 # grep "^[ ]*SET(VTK" UseVTKConfig40.cmake |sed 's/[ ]*SET(\([^ ]*\) .*/  \1/'
357 SET(VTK_SETTINGS
358   VTK_BUILD_SHARED
359   VTK_BUILD_VERSION
360   VTK_DEBUG_LEAKS
361   VTK_HAVE_VG500
362   VTK_HAVE_VP1000
363   VTK_INCLUDE_DIRS
364   VTK_KITS
365   VTK_LANGUAGES
366   VTK_LIBRARY_DIRS
367   VTK_MAJOR_VERSION
368   VTK_MANGLE_MESA
369   VTK_MINOR_VERSION
370   VTK_MPIRUN_EXE
371   VTK_MPI_POSTFLAGS
372   VTK_MPI_PREFLAGS
373   VTK_OPENGL_HAS_OSMESA
374   VTK_PARSE_JAVA_EXE
375   VTK_TCL_EXE
376   VTK_TCL_HOME
377   VTK_USE_64BIT_IDS
378   VTK_USE_ANSI_STDLIB
379   VTK_USE_HYBRID
380   VTK_USE_MATROX_IMAGING
381   VTK_USE_MPI
382   VTK_USE_PARALLEL
383   VTK_USE_PATENTED
384   VTK_USE_RENDERING
385   VTK_USE_VIDEO_FOR_WINDOWS
386   VTK_USE_VOLUMEPRO
387   VTK_USE_X
388   VTK_WRAP_JAVA
389   VTK_WRAP_JAVA_EXE
390   VTK_WRAP_PYTHON
391   VTK_WRAP_PYTHON_EXE
392   VTK_WRAP_TCL
393   VTK_WRAP_TCL_EXE