VTKConfig.cmake.in 5.12 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 8

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

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

14 15 16
# 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@")
17
SET(VTK_REQUIRED_EXE_LINKER_FLAGS "@VTK_REQUIRED_EXE_LINKER_FLAGS@")
18 19
SET(VTK_REQUIRED_SHARED_LINKER_FLAGS "@VTK_REQUIRED_SHARED_LINKER_FLAGS@")
SET(VTK_REQUIRED_MODULE_LINKER_FLAGS "@VTK_REQUIRED_MODULE_LINKER_FLAGS@")
20 21

# The VTK version number
22 23 24
SET(VTK_MAJOR_VERSION "@VTK_MAJOR_VERSION@")
SET(VTK_MINOR_VERSION "@VTK_MINOR_VERSION@")
SET(VTK_BUILD_VERSION "@VTK_BUILD_VERSION@")
25 26 27 28

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

29 30
# The build settings file.
SET(VTK_BUILD_SETTINGS_FILE "@VTK_BUILD_SETTINGS_FILE@")
31

32 33 34
# The directory containing class list files for each kit.
SET(VTK_KITS_DIR "@VTK_KITS_DIR_CONFIG@")

35 36 37
# The wrapping hints file.
SET(VTK_WRAP_HINTS "@VTK_WRAP_HINTS_CONFIG@")

38 39
# 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
40
SET(VTK_CMAKE_DIR "@VTK_CMAKE_DIR_CONFIG@")
41 42
SET(VTK_CMAKE_EXTENSIONS_DIR "@VTK_CMAKE_EXTENSIONS_DIR_CONFIG@")

43 44 45 46 47 48
# The list of available kits.
SET(VTK_KITS "@VTK_KITS@")

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

49
# VTK Configuration options.
50
SET(VTK_BUILD_SHARED_LIBS "@BUILD_SHARED_LIBS@")
51 52 53
SET(VTK_DEBUG_LEAKS "@VTK_DEBUG_LEAKS@")
SET(VTK_DISABLE_TK_INIT "@VTK_DISABLE_TK_INIT@")
SET(VTK_HAVE_VP1000 "@VTK_HAVE_VP1000@")
54
SET(VTK_USE_MANGLED_MESA "@VTK_USE_MANGLED_MESA@")
55 56 57 58
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@")
59 60 61 62
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@")
63 64 65 66 67
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@")
68
SET(VTK_USE_GUISUPPORT "@VTK_USE_GUISUPPORT@")
69
SET(VTK_USE_HYBRID "@VTK_USE_HYBRID@")
70
SET(VTK_USE_MATROX_IMAGING "@VTK_USE_MATROX_IMAGING@")
71 72
SET(VTK_USE_MFC "@VTK_USE_MFC@")
SET(VTK_USE_QVTK "@VTK_USE_QVTK@")
73 74 75 76
SET(VTK_USE_MPI "@VTK_USE_MPI@")
SET(VTK_USE_PARALLEL "@VTK_USE_PARALLEL@")
SET(VTK_USE_PATENTED "@VTK_USE_PATENTED@")
SET(VTK_USE_RENDERING "@VTK_USE_RENDERING@")
77
SET(VTK_USE_VOLUMERENDERING "@VTK_USE_VOLUMERENDERING@")
78
SET(VTK_USE_VIDEO_FOR_WINDOWS "@VTK_USE_VIDEO_FOR_WINDOWS@")
79
SET(VTK_USE_GL2PS "@VTK_USE_GL2PS@")
80 81
SET(VTK_USE_X "@VTK_USE_X@")
SET(VTK_WRAP_JAVA "@VTK_WRAP_JAVA@")
82 83
SET(VTK_WRAP_PYTHON "@VTK_WRAP_PYTHON@")
SET(VTK_WRAP_TCL "@VTK_WRAP_TCL@")
84 85
SET(VTK_LEGACY_REMOVE "@VTK_LEGACY_REMOVE@")
SET(VTK_LEGACY_SILENT "@VTK_LEGACY_SILENT@")
86

87 88 89 90 91
SET(VTK_TK_RESOURCE_FILE "@VTK_TK_RESOURCE_FILE@")
SET(VTK_TCL_TK_STATIC "@VTK_TCL_TK_STATIC@")
SET(VTK_TCL_TK_COPY_SUPPORT_LIBRARY "@VTK_TCL_TK_COPY_SUPPORT_LIBRARY@")
SET(VTK_TCL_SUPPORT_LIBRARY_PATH "@VTK_TCL_SUPPORT_LIBRARY_PATH@")
SET(VTK_TK_SUPPORT_LIBRARY_PATH "@VTK_TK_SUPPORT_LIBRARY_PATH@")
92
SET(VTK_TCL_TK_MACROS "@VTK_TCL_TK_MACROS_CONFIG@")
93 94

# The VTK executable locations.
95
SET(VTK_TCL_HOME "@VTK_TCL_HOME_CONFIG@")
96
SET(VTK_JAVA_JAR "@VTK_JAVA_JAR_CONFIG@")
97 98 99 100
SET(VTK_PARSE_JAVA_EXE "@VTK_PARSE_JAVA_EXE_CONFIG@")
SET(VTK_WRAP_JAVA_EXE "@VTK_WRAP_JAVA_EXE_CONFIG@")
SET(VTK_WRAP_PYTHON_EXE "@VTK_WRAP_PYTHON_EXE_CONFIG@")
SET(VTK_WRAP_TCL_EXE "@VTK_WRAP_TCL_EXE_CONFIG@")
101
SET(VTK_WRAP_TCL_INIT_EXE "@VTK_WRAP_TCL_INIT_EXE_CONFIG@")
102
SET(VTK_DOXYGEN_HOME "@VTK_DOXYGEN_HOME_CONFIG@")
103
SET(VTK_TK_INTERNAL_DIR "@VTK_TK_INTERNAL_DIR_CONFIG@")
104

105 106 107
# 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@")
108 109 110
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@")
111

112
# The names of utility libraries used by VTK.
113 114 115 116 117 118
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@")
119

120 121 122 123 124
# The VTK Qt configuration.
IF(VTK_USE_QVTK)
  INCLUDE(${VTK_DIR}/VTKConfigQt.cmake)
ENDIF(VTK_USE_QVTK)

125 126 127 128
# The VTK library dependencies.
IF(NOT VTK_NO_LIBRARY_DEPENDS)
  INCLUDE("@VTK_LIBRARY_DEPENDS_FILE@")
ENDIF(NOT VTK_NO_LIBRARY_DEPENDS)
Andy Cedilnik's avatar
Andy Cedilnik committed
129 130

@VTK_CONFIG_BACKWARD_COMPATIBILITY_HACK@