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