Commit eefd79d9 authored by Brad King's avatar Brad King 💬
Browse files

ENH: Re-organizing the VTK installation. Libraries are now installed in...

ENH: Re-organizing the VTK installation.  Libraries are now installed in PREFIX/lib instead of PREFIX/lib/vtk.  This is now safe because they have version numbers on UNIX.  The Tcl package is now installed in PREFIX/lib/vtk-<version> so that it can be automatically found by the vtk or tclsh executables without setting TCLLIBPATH.  The CMake packaging files for VTK are also installed in PREFIX/lib/vtk-<version>, but this location can be separately configured.  The Doxygen files install location can now also be configured separately.
parent f1b809d4
......@@ -26,7 +26,7 @@ MACRO(VTK_EXPORT_KIT kit ukit sources)
${VTK_BINARY_DIR}/Utilities/vtk${kit}Kit.cmake
@ONLY IMMEDIATE)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR} FILES
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR} FILES
${VTK_BINARY_DIR}/Utilities/InstallOnly/vtk${kit}Kit.cmake
)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
......
......@@ -123,16 +123,46 @@ LINK_DIRECTORIES(.)
# the install location. Optionally allow the project to specify a
# single VTK_INSTALL_ROOT which basically adds to its install prefix
# for VTK only.
# The location in which to install VTK executables.
IF(NOT VTK_INSTALL_BIN_DIR)
SET(VTK_INSTALL_BIN_DIR ${VTK_INSTALL_ROOT}/bin)
ENDIF(NOT VTK_INSTALL_BIN_DIR)
# The location in which to install VTK header files.
IF(NOT VTK_INSTALL_INCLUDE_DIR)
SET(VTK_INSTALL_INCLUDE_DIR ${VTK_INSTALL_ROOT}/include/vtk)
ENDIF(NOT VTK_INSTALL_INCLUDE_DIR)
# The location in which to install VTK libraries.
IF(NOT VTK_INSTALL_LIB_DIR)
SET(VTK_INSTALL_LIB_DIR ${VTK_INSTALL_ROOT}/lib/vtk)
SET(VTK_INSTALL_LIB_DIR ${VTK_INSTALL_ROOT}/lib)
ENDIF(NOT VTK_INSTALL_LIB_DIR)
# The location in which to install CMake scripts for packaging VTK.
IF(NOT VTK_INSTALL_PACKAGE_DIR)
SET(VTK_INSTALL_PACKAGE_DIR
${VTK_INSTALL_LIB_DIR}/vtk-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}
)
ENDIF(NOT VTK_INSTALL_PACKAGE_DIR)
# The location in which to install VTK doxygen documentation helper
# files.
IF(NOT VTK_INSTALL_DOXYGEN_DIR)
SET(VTK_INSTALL_DOXYGEN_DIR ${VTK_INSTALL_PACKAGE_DIR}/doxygen)
ENDIF(NOT VTK_INSTALL_DOXYGEN_DIR)
# Compute the proper location for installing the Tcl package. This
# must be a fixed relative path below the library install location and
# is therefore not settable by parent projects.
SET(VTK_INSTALL_TCL_DIR
${VTK_INSTALL_LIB_DIR}/vtk-${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}
)
IF(NOT VTK_INSTALL_JAVA_DIR)
SET(VTK_INSTALL_JAVA_DIR ${VTK_INSTALL_PACKAGE_DIR}/java)
ENDIF(NOT VTK_INSTALL_JAVA_DIR)
# There are three basic components to the VTK installation: runtime,
# development, and documentation. Install rules for each component
# are surrounded by blockers. Parent projects or users can specify
......@@ -159,7 +189,7 @@ ENDIF(BUILD_SHARED_LIBS)
# Save the compiler settings so another project can import them.
CMAKE_EXPORT_BUILD_SETTINGS(${VTK_BINARY_DIR}/VTKBuildSettings.cmake)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR} .cmake VTKBuildSettings)
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR} .cmake VTKBuildSettings)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
#-----------------------------------------------------------------------------
......@@ -1024,7 +1054,7 @@ IF(VTK_WRAP_TCL)
ENDIF(VTK_WRAP_TCL)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/CMake FILES
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR}/CMake FILES
${VTK_SOURCE_DIR}/CMake/vtkTclTkMacros.cmake
${VTK_SOURCE_DIR}/CMake/vtkWrapTcl.cmake
${VTK_SOURCE_DIR}/CMake/vtkWrapJava.cmake
......@@ -1249,7 +1279,7 @@ IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
ENDIF(VTK_USE_PARALLEL)
# Install cmake extensions so user projects can load them.
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/CMake FILES
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR}/CMake FILES
${VTK_SOURCE_DIR}/CMake/vtkLoadCMakeExtensions.cmake
${VTK_SOURCE_DIR}/CMake/vtkMakeInstantiator.cmake
${VTK_SOURCE_DIR}/CMake/vtkMakeInstantiator.h.in
......@@ -1258,10 +1288,10 @@ IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
FOREACH(cmd VTK_WRAP_TCL2 VTK_WRAP_PYTHON2 VTK_WRAP_JAVA2
VTK_GENERATE_JAVA_DEPENDENCIES)
IF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.0)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/CMake FILES ${CMAKE_LOADED_COMMAND_${cmd}})
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR}/CMake FILES ${CMAKE_LOADED_COMMAND_${cmd}})
ELSE("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.0)
IF(UNIX)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/CMake FILES
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR}/CMake FILES
"${VTK_BINARY_DIR}/CMake/${CMAKE_SHARED_MODULE_PREFIX}cm${cmd}${CMAKE_SHARED_MODULE_SUFFIX}")
ENDIF(UNIX)
ENDIF("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" GREATER 2.0)
......@@ -1275,9 +1305,9 @@ EXPORT_LIBRARY_DEPENDENCIES(${VTK_BINARY_DIR}/VTKLibraryDepends.cmake)
# Install some files.
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VTK_INSTALL_INCLUDE_DIR} .h vtkConfigure vtkToolkits)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR} .cmake UseVTK VTKLibraryDepends)
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR} .cmake UseVTK VTKLibraryDepends)
IF(VTK_WRAP_HINTS)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR} FILES ${VTK_WRAP_HINTS})
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR} FILES ${VTK_WRAP_HINTS})
ENDIF(VTK_WRAP_HINTS)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
......
......@@ -329,7 +329,7 @@ IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
vtkDataArrayTemplateImplicit
)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/testing FILES
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR}/testing FILES
${VTK_SOURCE_DIR}/${KIT}/Testing/HeaderTesting.py
${VTK_SOURCE_DIR}/${KIT}/Testing/Tcl/FindString.tcl
${VTK_SOURCE_DIR}/${KIT}/Testing/Tcl/PrintSelfCheck.tcl
......@@ -339,7 +339,7 @@ IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VTK_INSTALL_INCLUDE_DIR} FILES
${VTK_SOURCE_DIR}/${KIT}/Testing/Cxx/vtkTestUtilities.h)
IF(VTK_USE_PARALLEL)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/testing FILES
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR}/testing FILES
${VTK_SOURCE_DIR}/${KIT}/Testing/Tcl/prtImageTest.tcl)
ENDIF(VTK_USE_PARALLEL)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
......@@ -176,7 +176,7 @@ ENDIF(BUILD_QVTK_PLUGIN)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES( ${VTK_INSTALL_INCLUDE_DIR} .h ${QVTKLibSrcs})
INSTALL_FILES( ${VTK_INSTALL_LIB_DIR} FILES ${VTK_BINARY_DIR}/VTKConfigQt.cmake )
INSTALL_FILES( ${VTK_INSTALL_PACKAGE_DIR} FILES ${VTK_BINARY_DIR}/VTKConfigQt.cmake )
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
IF(NOT VTK_INSTALL_NO_LIBRARIES)
INSTALL_TARGETS( ${VTK_INSTALL_LIB_DIR} QVTK )
......
......@@ -28,7 +28,7 @@ ENDIF(VTK_USE_RENDERING)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
# This is the installed VTKConfig.cmake file configured at the top
# level.
INSTALL_FILES(${VTK_INSTALL_LIB_DIR} .cmake VTKConfig)
INSTALL_FILES(${VTK_INSTALL_PACKAGE_DIR} .cmake VTKConfig)
INSTALL_FILES(${VTK_INSTALL_INCLUDE_DIR} .h
vtk_expat vtk_jpeg vtk_png vtk_zlib vtk_tiff vtk_freetype)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
......
......@@ -36,10 +36,10 @@ ENDIF (BUILD_DOCUMENTATION)
INCLUDE (${VTK_SOURCE_DIR}/Utilities/Doxygen/LocalUserOptions.cmake OPTIONAL)
IF(NOT VTK_INSTALL_NO_DOCUMENTATION)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/doxygen "\\.css$")
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/doxygen "\\.gif$")
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/doxygen "\\.html$")
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/doxygen "\\.pl$")
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/doxygen "\\.stop$")
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/doxygen .txt authors doc_readme)
INSTALL_FILES(${VTK_INSTALL_DOXYGEN_DIR} "\\.css$")
INSTALL_FILES(${VTK_INSTALL_DOXYGEN_DIR} "\\.gif$")
INSTALL_FILES(${VTK_INSTALL_DOXYGEN_DIR} "\\.html$")
INSTALL_FILES(${VTK_INSTALL_DOXYGEN_DIR} "\\.pl$")
INSTALL_FILES(${VTK_INSTALL_DOXYGEN_DIR} "\\.stop$")
INSTALL_FILES(${VTK_INSTALL_DOXYGEN_DIR} .txt authors doc_readme)
ENDIF(NOT VTK_INSTALL_NO_DOCUMENTATION)
......@@ -50,20 +50,29 @@ IF (TCL_LIBRARY AND TK_LIBRARY)
${CXX_TEST_PATH} "TclTk/lib")
ENDIF (CXX_TEST_PATH)
IF(NOT VTK_INSTALL_NO_RUNTIME)
VTK_COPY_TCL_TK_SUPPORT_FILES(
"${VTK_TCL_SUPPORT_LIBRARY_PATH}"
"${VTK_INSTALL_TCL_DIR}/tcl${TCL_TK_VERSION}"
"${VTK_TK_SUPPORT_LIBRARY_PATH}"
"${VTK_INSTALL_TCL_DIR}/tk${TCL_TK_VERSION}"
INSTALL)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
VTK_GET_TCL_SUPPORT_FILES(
${VTK_TCL_SUPPORT_LIBRARY_PATH} "TCL_SUPPORT_FILES")
FOREACH (file ${TCL_SUPPORT_FILES})
STRING (REGEX REPLACE "${VTK_TCL_SUPPORT_LIBRARY_PATH}/" "" base ${file})
GET_FILENAME_COMPONENT(dest ${base} PATH)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/TclTk/lib/tcl${TCL_TK_VERSION}/${dest} FILES ${file})
INSTALL_FILES(${VTK_INSTALL_TCL_DIR}/tcl${TCL_TK_VERSION}/${dest} FILES ${file})
ENDFOREACH (file)
VTK_GET_TK_SUPPORT_FILES(${VTK_TK_SUPPORT_LIBRARY_PATH} "TK_SUPPORT_FILES")
FOREACH (file ${TK_SUPPORT_FILES})
STRING (REGEX REPLACE "${VTK_TK_SUPPORT_LIBRARY_PATH}/" "" base ${file})
GET_FILENAME_COMPONENT(dest ${base} PATH)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/TclTk/lib/tk${TCL_TK_VERSION}/${dest} FILES ${file})
INSTALL_FILES(${VTK_INSTALL_TCL_DIR}/tk${TCL_TK_VERSION}/${dest} FILES ${file})
ENDFOREACH (file)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
......
......@@ -258,7 +258,7 @@ IF(JAVA_COMPILE)
)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/java FILES ${LIBRARY_OUTPUT_PATH}/vtk.jar)
INSTALL_FILES(${VTK_INSTALL_JAVA_DIR} FILES ${LIBRARY_OUTPUT_PATH}/vtk.jar)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
ENDIF(JAVA_ARCHIVE)
ENDIF(VTK_JAVA_NEW_STYLE)
......
......@@ -68,6 +68,9 @@ FOREACH(lib ${VTK_EXTRA_TCL_LIBRARIES})
TARGET_LINK_LIBRARIES(vtk ${lib})
ENDFOREACH(lib)
# Setup install location for vtk tcl scripts.
SET(VTK_TCL_INSTALL_DIR ${VTK_INSTALL_TCL_DIR}/tcl)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_TARGETS(${VTK_INSTALL_BIN_DIR} vtk)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
......@@ -113,10 +116,10 @@ ENDIF (VTK_USE_PARALLEL)
SUBDIRS(vtk vtkbase vtkcommon vtkfiltering vtkgraphics vtkimaging vtkinteraction vtkio vtktesting)
IF(NOT VTK_INSTALL_NO_DOCUMENTATION)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl "" README)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR} "" README)
ENDIF(NOT VTK_INSTALL_NO_DOCUMENTATION)
IF(NOT VTK_INSTALL_NO_DEVELOPMENT)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl .c vtktcl)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR} .c vtktcl)
ENDIF(NOT VTK_INSTALL_NO_DEVELOPMENT)
SET(VTK_TCL_RENDERING_CONFIG "")
......@@ -162,18 +165,18 @@ ELSE(VTK_TCL_CONFIGURATION_TYPES)
ENDIF(VTK_TCL_CONFIGURATION_TYPES)
# Configure the Tcl package index file for the install tree.
SET(VTK_TCL_SCRIPT_DIR "[file dirname [info script]]")
SET(VTK_TCL_SCRIPT_DIR "[file dirname [info script]]/tcl")
IF(UNIX)
SET(VTK_TCL_LIBRARY_DIR "[file dirname [file dirname [info script]]]")
ELSE(UNIX)
SET(VTK_TCL_LIBRARY_DIR
"[file join [file dirname [file dirname [file dirname [file dirname [info script]]]]] bin]")
"[file join [file dirname [file dirname [file dirname [info script]]]] bin]")
ENDIF(UNIX)
CONFIGURE_FILE(${VTK_SOURCE_DIR}/Wrapping/Tcl/pkgIndex.tcl.in
${VTK_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl
@ONLY IMMEDIATE)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl FILES
INSTALL_FILES(${VTK_INSTALL_TCL_DIR} FILES
${VTK_BINARY_DIR}/Wrapping/Tcl/Install/Hide/pkgIndex.tcl)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
......
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtk .tcl vtk )
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtk .tcl vtk )
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
......@@ -39,12 +39,6 @@ PURPOSE. See the above copyright notice for more information.
#include <sys/stat.h>
#endif
#if defined(CMAKE_INTDIR)
# define VTK_TCL_PACKAGE_DIR VTK_TCL_PACKAGE_DIR_BUILD "/" CMAKE_INTDIR
#else
# define VTK_TCL_PACKAGE_DIR VTK_TCL_PACKAGE_DIR_BUILD
#endif
#ifdef VTK_USE_RENDERING
# include "vtkTk.h"
#else
......@@ -325,11 +319,13 @@ int Tcl_AppInit(Tcl_Interp *interp)
vtkTkAppInitConvertToUnixSlashes(dir, dir_unix);
// Installed application, otherwise build tree/windows
sprintf(buffer, "%s/TclTk", dir_unix);
sprintf(buffer, "%s/TclTk/lib", dir_unix);
int exists = vtkTkAppInitFileExists(buffer);
if (!exists)
{
sprintf(buffer, "%s/.." VTK_TCL_INSTALL_LIB_DIR "/TclTk", dir_unix);
char buffer2[1024];
vtkTkAppInitGetFilenamePath(dir_unix, buffer2);
sprintf(buffer, "%s" VTK_INSTALL_TCL_DIR, buffer2);
exists = vtkTkAppInitFileExists(buffer);
}
if (exists)
......@@ -344,7 +340,7 @@ int Tcl_AppInit(Tcl_Interp *interp)
if (!has_tcllibpath_env)
{
char tcl_library[1024] = "";
sprintf(tcl_library, "%s/lib/tcl%s", buffer, TCL_VERSION);
sprintf(tcl_library, "%s/tcl" TCL_VERSION, buffer);
if (vtkTkAppInitFileExists(tcl_library))
{
// Setting TCL_LIBRARY won't do the trick, it's too late
......@@ -362,7 +358,7 @@ int Tcl_AppInit(Tcl_Interp *interp)
if (!has_tklibpath_env)
{
char tk_library[1024] = "";
sprintf(tk_library, "%s/lib/tk%s", buffer, TK_VERSION);
sprintf(tk_library, "%s/tk" TK_VERSION, buffer);
if (vtkTkAppInitFileExists(tk_library))
{
// Setting TK_LIBRARY won't do the trick, it's too late
......@@ -469,11 +465,14 @@ int Tcl_AppInit(Tcl_Interp *interp)
* Append path to VTK packages to auto_path
*/
static char script[] =
"foreach dir [list {" VTK_TCL_PACKAGE_DIR "} {" VTK_TCL_INSTALL_DIR "}"
"foreach dir [list "
#if defined(CMAKE_INTDIR)
" [file join [file dirname [file dirname [file dirname [info nameofexecutable]]]] Wrapping Tcl " CMAKE_INTDIR "]"
#else
" [file join [file dirname [file dirname [info nameofexecutable]]] Wrapping Tcl]"
" [file join [file dirname [file dirname [info nameofexecutable]]] lib vtk tcl]"
#endif
" ] {\n"
" if {[file isdirectory $dir]} {\n"
" if {[file isdirectory \"$dir\"]} {\n"
" lappend auto_path $dir\n"
" }\n"
"}\n"
......@@ -506,7 +505,6 @@ int Tcl_AppInit(Tcl_Interp *interp)
" }\n"
" return $package_res\n"
"}\n";
Tcl_Eval(interp, script);
/*
......
#ifndef __vtkTkAppInitConfigure_h
#define __vtkTkAppInitConfigure_h
#define VTK_TCL_PACKAGE_DIR_BUILD "@VTK_BINARY_DIR@/Wrapping/Tcl"
#define VTK_TCL_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@@VTK_INSTALL_LIB_DIR@/tcl"
#define VTK_TCL_INSTALL_LIB_DIR "@VTK_INSTALL_LIB_DIR@"
#define VTK_TCL_INSTALL_DIR "@CMAKE_INSTALL_PREFIX@@VTK_INSTALL_TCL_DIR@"
#define VTK_INSTALL_TCL_DIR "@VTK_INSTALL_TCL_DIR@"
@VTK_EXTRA_TCL_WRAPPING_CODE@
......
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkbase .tcl vtkbase)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkbase .tcl vtkbase)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkcommon .tcl vtkcommon)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkcommon .tcl vtkcommon)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkfiltering .tcl vtkfiltering)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkfiltering .tcl vtkfiltering)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkgraphics .tcl vtkgraphics)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkgraphics .tcl vtkgraphics)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkhybrid .tcl vtkhybrid)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkhybrid .tcl vtkhybrid)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkimaging .tcl vtkimaging )
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkimaging .tcl vtkimaging )
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkinteraction .tcl
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkinteraction .tcl
vtkinteraction
Interactor
bindings
......
IF(NOT VTK_INSTALL_NO_RUNTIME)
INSTALL_FILES(${VTK_INSTALL_LIB_DIR}/tcl/vtkio .tcl vtkio)
INSTALL_FILES(${VTK_TCL_INSTALL_DIR}/vtkio .tcl vtkio)
ENDIF(NOT VTK_INSTALL_NO_RUNTIME)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment