You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
167 lines
5.7 KiB
167 lines
5.7 KiB
2 years ago
|
#-----------------------------------------------------------------------------
|
||
|
# Include directories for other projects installed on the system.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM "")
|
||
|
IF(VTK_USE_RENDERING)
|
||
|
# OpenGL include directories.
|
||
|
IF(APPLE)
|
||
|
IF(VTK_USE_X)
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM}
|
||
|
${OPENGL_INCLUDE_DIR})
|
||
|
ENDIF(VTK_USE_X)
|
||
|
ELSE(APPLE)
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM}
|
||
|
${OPENGL_INCLUDE_DIR})
|
||
|
ENDIF(APPLE)
|
||
|
|
||
|
IF(VTK_USE_X)
|
||
|
# X include directories.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM} ${X11_INCLUDE_DIR})
|
||
|
ENDIF(VTK_USE_X)
|
||
|
|
||
|
IF(VTK_USE_MANGLED_MESA)
|
||
|
# Mangled Mesa include directory.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM}
|
||
|
${MESA_INCLUDE_PATH})
|
||
|
ELSE(VTK_USE_MANGLED_MESA)
|
||
|
# Off-Screen Mesa include directory.
|
||
|
IF(VTK_OPENGL_HAS_OSMESA)
|
||
|
IF(OSMESA_INCLUDE_DIR)
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM}
|
||
|
${OSMESA_INCLUDE_DIR})
|
||
|
ENDIF(OSMESA_INCLUDE_DIR)
|
||
|
ENDIF(VTK_OPENGL_HAS_OSMESA)
|
||
|
ENDIF(VTK_USE_MANGLED_MESA)
|
||
|
ENDIF(VTK_USE_RENDERING)
|
||
|
|
||
|
IF(VTK_USE_PARALLEL)
|
||
|
IF(VTK_USE_MPI)
|
||
|
# MPI include directory.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM} ${MPI_INCLUDE_PATH})
|
||
|
ENDIF(VTK_USE_MPI)
|
||
|
ENDIF(VTK_USE_PARALLEL)
|
||
|
|
||
|
IF(VTK_WRAP_TCL)
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM} ${TCL_INCLUDE_PATH})
|
||
|
ENDIF(VTK_WRAP_TCL)
|
||
|
|
||
|
IF(VTK_WRAP_PYTHON)
|
||
|
# Python include directory.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM}
|
||
|
${PYTHON_INCLUDE_PATH})
|
||
|
ENDIF(VTK_WRAP_PYTHON)
|
||
|
|
||
|
# VTK_INCLUDE_NEED_TK is set in toplevel CMakeLists.txt file.
|
||
|
IF(VTK_INCLUDE_NEED_TK)
|
||
|
# Tcl/Tk include directories.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM} ${TK_INCLUDE_PATH})
|
||
|
IF (WIN32)
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM} ${TK_XLIB_PATH})
|
||
|
ENDIF (WIN32)
|
||
|
ENDIF(VTK_INCLUDE_NEED_TK)
|
||
|
|
||
|
IF(VTK_WRAP_JAVA)
|
||
|
# Java include directories.
|
||
|
SET(VTK_INCLUDE_DIRS_SYSTEM ${VTK_INCLUDE_DIRS_SYSTEM}
|
||
|
${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2} ${JAVA_AWT_INCLUDE_PATH})
|
||
|
ENDIF(VTK_WRAP_JAVA)
|
||
|
|
||
|
#-----------------------------------------------------------------------------
|
||
|
# Include directories from the build tree.
|
||
|
SET(VTK_INCLUDE_DIRS_BUILD_TREE
|
||
|
${VTK_BINARY_DIR}
|
||
|
${VTK_BINARY_DIR}/Utilities
|
||
|
)
|
||
|
|
||
|
|
||
|
#-----------------------------------------------------------------------------
|
||
|
# Include directories from the source tree.
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE "")
|
||
|
IF(VTK_USE_PARALLEL)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE} ${VTK_SOURCE_DIR}/Parallel)
|
||
|
ENDIF(VTK_USE_PARALLEL)
|
||
|
|
||
|
IF(VTK_USE_RENDERING)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE} ${VTK_SOURCE_DIR}/VolumeRendering)
|
||
|
SET(VTK_INCLUDE_DIRS_BUILD_TREE ${VTK_INCLUDE_DIRS_BUILD_TREE} ${VTK_BINARY_DIR}/VolumeRendering)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE} ${VTK_SOURCE_DIR}/Hybrid)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE} ${VTK_SOURCE_DIR}/Widgets)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE} ${VTK_SOURCE_DIR}/Rendering)
|
||
|
SET(VTK_INCLUDE_DIRS_BUILD_TREE ${VTK_INCLUDE_DIRS_BUILD_TREE} ${VTK_BINARY_DIR}/Rendering)
|
||
|
# Access to vtkRegressionTestImage.h.
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
||
|
${VTK_SOURCE_DIR}/Rendering/Testing/Cxx
|
||
|
)
|
||
|
ENDIF(VTK_USE_RENDERING)
|
||
|
|
||
|
# These directories are always needed.
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
||
|
${VTK_SOURCE_DIR}/IO
|
||
|
${VTK_SOURCE_DIR}/Imaging
|
||
|
${VTK_SOURCE_DIR}/Graphics
|
||
|
${VTK_SOURCE_DIR}/GenericFiltering
|
||
|
${VTK_SOURCE_DIR}/Filtering
|
||
|
${VTK_SOURCE_DIR}/Common
|
||
|
${VTK_SOURCE_DIR}/Utilities
|
||
|
)
|
||
|
|
||
|
|
||
|
|
||
|
# Access to vtkTestUtilities.h.
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
||
|
${VTK_SOURCE_DIR}/Common/Testing/Cxx
|
||
|
)
|
||
|
|
||
|
#-----------------------------------------------------------------------------
|
||
|
# Include directories needed for .cxx files in VTK. These include
|
||
|
# directories will NOT be available to user projects.
|
||
|
SET(VTK_INCLUDE_DIRS_BUILD_TREE_CXX
|
||
|
${VTK_SOURCE_DIR}/Utilities/vtkfreetype/include
|
||
|
${VTK_BINARY_DIR}/Utilities/vtkfreetype
|
||
|
${VTK_SOURCE_DIR}/Utilities/ftgl/src
|
||
|
${VTK_BINARY_DIR}/Utilities/ftgl
|
||
|
)
|
||
|
|
||
|
IF(VTK_USE_TK)
|
||
|
# Need access to internal Tk headers for the vtkTk... widget .cxx files.
|
||
|
SET(VTK_INCLUDE_DIRS_BUILD_TREE_CXX ${VTK_INCLUDE_DIRS_BUILD_TREE_CXX}
|
||
|
${TK_INTERNAL_PATH})
|
||
|
ENDIF(VTK_USE_TK)
|
||
|
|
||
|
IF (VTK_USE_MATROX_IMAGING)
|
||
|
# Need access to mil.h include file for vtkMILVideoSource.cxx.
|
||
|
SET(VTK_INCLUDE_DIRS_BUILD_TREE_CXX ${VTK_INCLUDE_DIRS_BUILD_TREE_CXX}
|
||
|
${MIL_INCLUDE_PATH})
|
||
|
ENDIF (VTK_USE_MATROX_IMAGING)
|
||
|
|
||
|
#-----------------------------------------------------------------------------
|
||
|
# Include directories for 3rd-party utilities provided by VTK.
|
||
|
VTK_THIRD_PARTY_INCLUDE2(ZLIB)
|
||
|
VTK_THIRD_PARTY_INCLUDE2(JPEG)
|
||
|
VTK_THIRD_PARTY_INCLUDE2(PNG)
|
||
|
VTK_THIRD_PARTY_INCLUDE2(TIFF)
|
||
|
VTK_THIRD_PARTY_INCLUDE2(EXPAT)
|
||
|
VTK_THIRD_PARTY_INCLUDE(DICOMParser DICOMParser)
|
||
|
VTK_THIRD_PARTY_INCLUDE(FREETYPE vtkfreetype/include)
|
||
|
VTK_THIRD_PARTY_INCLUDE(NetCDF vtknetcdf)
|
||
|
VTK_THIRD_PARTY_INCLUDE(Exodus2 vtkexodus2/include)
|
||
|
|
||
|
# Include GUI support
|
||
|
IF(VTK_USE_GUISUPPORT)
|
||
|
IF(VTK_USE_QVTK)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
||
|
${VTK_SOURCE_DIR}/GUISupport/Qt)
|
||
|
ENDIF(VTK_USE_QVTK)
|
||
|
IF(VTK_USE_MFC)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
||
|
${VTK_SOURCE_DIR}/GUISupport/MFC)
|
||
|
ENDIF(VTK_USE_MFC)
|
||
|
ENDIF(VTK_USE_GUISUPPORT)
|
||
|
|
||
|
# GL2PS include directory.
|
||
|
IF(VTK_USE_RENDERING)
|
||
|
IF(VTK_USE_GL2PS)
|
||
|
SET(VTK_INCLUDE_DIRS_SOURCE_TREE ${VTK_INCLUDE_DIRS_SOURCE_TREE}
|
||
|
${VTK_SOURCE_DIR}/Utilities/gl2ps)
|
||
|
ENDIF(VTK_USE_GL2PS)
|
||
|
ENDIF(VTK_USE_RENDERING)
|