| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 | 
							- ###########################################################################
 
- #
 
- #  Library:   CTK
 
- #
 
- #  Copyright (c) Kitware Inc.
 
- #
 
- #  Licensed under the Apache License, Version 2.0 (the "License");
 
- #  you may not use this file except in compliance with the License.
 
- #  You may obtain a copy of the License at
 
- #
 
- #      http://www.apache.org/licenses/LICENSE-2.0.txt
 
- #
 
- #  Unless required by applicable law or agreed to in writing, software
 
- #  distributed under the License is distributed on an "AS IS" BASIS,
 
- #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 
- #  See the License for the specific language governing permissions and
 
- #  limitations under the License.
 
- #
 
- ###########################################################################
 
- ###########################################################################
 
- #
 
- #  Program:   Visualization Toolkit
 
- #  Module:    VTKConfig.cmake.in
 
- #
 
- #  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
 
- #
 
- #  All rights reserved.
 
- #  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
 
- #
 
- #     This software is distributed WITHOUT ANY WARRANTY; without even
 
- #     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
 
- #     PURPOSE.  See the above copyright notice for more information.
 
- #
 
- ###########################################################################
 
- #
 
- # CTKConfig.cmake - CTK CMake configuration file for external projects.
 
- #
 
- # This file is configured by CTK and used by the UseCTK.cmake module
 
- # to load CTK's settings for an external project.
 
- # Import CTK targets
 
- IF(NOT CTK_EXPORTS_INCLUDED)
 
-   INCLUDE("@CTK_SUPERBUILD_BINARY_DIR@/CTKExports.cmake")
 
-   SET(CTK_EXPORTS_INCLUDED 1)
 
- ENDIF()
 
- # Include CTK macros
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGetGccVersion.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroParseArguments.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroSetPaths.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroListFilter.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroBuildLibWrapper.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroBuildPlugin.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroBuildQtPlugin.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroTargetLibraries.cmake") # Import multiple macros
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionExtractOptionNameAndValue.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroValidateBuildOptions.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGenerateDGraphInput.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGeneratePluginManifest.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGeneratePluginUseFile.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroGeneratePluginResourceFile.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGetIncludeDirs.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGetLibraryDirs.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionExtractPluginTargets.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGetAllPluginTargets.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGetTargetDependencies.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkFunctionGetPluginDependencies.cmake")
 
- INCLUDE("@CTK_CMAKE_DIR_CONFIG@/ctkMacroSetupPlugins.cmake")
 
- INCLUDE("@CTKTesting_CMAKE_DIR_CONFIG@/ctkMacroGenerateMocs.cmake")
 
- SET(CTK_EXPORT_HEADER_TEMPLATE "@CTK_EXPORT_HEADER_TEMPLATE@")
 
- # Directory containing the ctkConfig.h file
 
- SET(CTK_CONFIG_H_INCLUDE_DIR @CTK_CONFIG_H_INCLUDE_DIR@)
 
- # The CTK DGraph executable used to compute target dependency graphs
 
- SET(CTK_DGRAPH_EXECUTABLE "@DGraph_EXECUTABLE@")
 
- # List all libraries
 
- SET(CTK_LIBRARIES @CTK_LIBRARIES@)
 
- # List all CTK libraries wrapped with PythonQt
 
- SET(CTK_WRAPPED_LIBRARIES_PYTHONQT @CTK_WRAPPED_LIBRARIES_PYTHONQT@)
 
- # Include CTK Plugin specific variables
 
- INCLUDE("@CTK_PLUGIN_USE_FILE@")
 
- @CTK_CONFIG_INSTALL_ONLY@
 
- # Library specific include directories
 
- @CTK_LIBRARY_INCLUDE_DIRS_CONFIG@
 
- # Library specific library directories
 
- @CTK_LIBRARY_LIBRARY_DIRS_CONFIG@
 
- # The CTK include file directories.
 
- SET(CTK_INCLUDE_DIRS "@CTK_BUILD_DIR@;@CTK_INCLUDE_DIRS_CONFIG@")
 
- # The CTK library directories. Note that if
 
- # CTK_CONFIGURATION_TYPES is set (see below) then these directories
 
- # will be the parent directories under which there will be a directory
 
- # of runtime binaries for each configuration type.
 
- SET(CTK_LIBRARY_DIRS "@CTK_LIBRARY_DIRS_CONFIG@")
 
- # The CTK external project libraries.
 
- SET(CTK_EXTERNAL_LIBRARIES "@CTK_EXTERNAL_LIBRARIES_CONFIG@")
 
- # The CTK external project library directories. Note that if
 
- # CTK_CONFIGURATION_TYPES is set (see below) then these directories
 
- # will be the parent directories under which there will be a directory
 
- # of runtime binaries for each configuration type.
 
- SET(CTK_EXTERNAL_LIBRARY_DIRS "@CTK_EXTERNAL_LIBRARY_DIRS_CONFIG@")
 
- # The CTK binary executable directories. Note that if
 
- # CTK_CONFIGURATION_TYPES is set (see below) then these directories
 
- # will be the parent directories under which there will be a directory
 
- # of runtime binaries for each configuration type.
 
- SET(CTK_EXECUTABLE_DIRS "@CTK_EXECUTABLE_DIRS_CONFIG@")
 
- # The CTK runtime library directories. Note that if
 
- # CTK_CONFIGURATION_TYPES is set (see below) then these directories
 
- # will be the parent directories under which there will be a directory
 
- # of runtime libraries for each configuration type.
 
- SET(CTK_RUNTIME_LIBRARY_DIRS "@CTK_RUNTIME_LIBRARY_DIRS_CONFIG@")
 
- # The CTK Qt designer plugin directory. Note that if
 
- # CTK_CONFIGURATION_TYPES is set (see below) then these directories
 
- # will be the parent directories under which there will be a directory
 
- # of runtime libraries for each configuration type.
 
- SET(CTK_QTDESIGNERPLUGINS_DIR "@CTK_QTDESIGNERPLUGINS_DIR_CONFIG@")
 
- # CTK external projects variables
 
- @CTK_SUPERBUILD_EP_VARS_CONFIG@
 
- # Qt configuration
 
- SET(CTK_QT_RCC_EXECUTABLE "@QT_RCC_EXECUTABLE@")
 
- SET(CTK_QT_MOC_EXECUTABLE "@QT_MOC_EXECUTABLE@")
 
- SET(CTK_QT_UIC_EXECUTABLE "@QT_UIC_EXECUTABLE@")
 
- SET(CTK_QT_QMAKE_EXECUTABLE "@QT_QMAKE_EXECUTABLE@")
 
- # The CTK version number
 
- SET(CTK_MAJOR_VERSION "@CTK_MAJOR_VERSION@")
 
- SET(CTK_MINOR_VERSION "@CTK_MINOR_VERSION@")
 
- SET(CTK_PATCH_VERSION "@CTK_PATCH_VERSION@")
 
- # The location of the UseCTK.cmake file.
 
- SET(CTK_USE_FILE "@CTK_USE_FILE@")
 
- # CMake extension module directory
 
- SET(CTK_CMAKE_DIR "@CTK_CMAKE_DIR_CONFIG@")
 
- SET(CTK_CMAKE_UTILITIES_DIR "@CTK_CMAKE_UTILITIES_DIR_CONFIG@")
 
- # TODO The list of available libraries.
 
- # TODO The list of available plugins.
 
- # TODO The list of available applications.
 
- # TODO The Doxygen configuration.
 
- #SET(CTK_DOXYGEN_HOME "@CTK_DOXYGEN_HOME_CONFIG@")
 
- # TODO Relative install paths in the CTK install tree
 
- SET(CTK_INSTALL_BIN_DIR "@CTK_INSTALL_BIN_DIR@")
 
- SET(CTK_INSTALL_INCLUDE_DIR "@CTK_INSTALL_INCLUDE_DIR@")
 
- SET(CTK_INSTALL_LIB_DIR "@CTK_INSTALL_LIB_DIR@")
 
- SET(CTK_INSTALL_QTPLUGIN_DIR "@CTK_INSTALL_QTPLUGIN_DIR@")
 
- #SET(CTK_INSTALL_PACKAGE_DIR "@CTK_INSTALL_PACKAGE_DIR@")
 
- # A CTK install tree always provides one build configuration. A CTK
 
- # build tree may provide either one or multiple build configurations
 
- # depending on the CMake generator used. Since CTK can be used either
 
- # from a build tree or an install tree it is useful for outside
 
- # projects to know the configurations available. If this
 
- # CTKConfig.cmake is in a CTK install tree CTK_CONFIGURATION_TYPES
 
- # will be empty and CTK_BUILD_TYPE will be set to the value of
 
- # CMAKE_BUILD_TYPE used to build CTK. If CTKConfig.cmake is in a CTK
 
- # build tree then CTK_CONFIGURATION_TYPES and CTK_BUILD_TYPE will have
 
- # values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE for
 
- # that build tree (only one will ever be set).
 
- SET(CTK_CONFIGURATION_TYPES @CTK_CONFIGURATION_TYPES_CONFIG@)
 
- SET(CTK_BUILD_TYPE @CTK_BUILD_TYPE_CONFIG@)
 
 
  |