CTKConfig.cmake.in 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. ###########################################################################
  2. #
  3. # Library: CTK
  4. #
  5. # Copyright (c) 2010 Kitware Inc.
  6. #
  7. # Licensed under the Apache License, Version 2.0 (the "License");
  8. # you may not use this file except in compliance with the License.
  9. # You may obtain a copy of the License at
  10. #
  11. # http://www.commontk.org/LICENSE
  12. #
  13. # Unless required by applicable law or agreed to in writing, software
  14. # distributed under the License is distributed on an "AS IS" BASIS,
  15. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. # See the License for the specific language governing permissions and
  17. # limitations under the License.
  18. #
  19. ###########################################################################
  20. ###########################################################################
  21. #
  22. # Program: Visualization Toolkit
  23. # Module: VTKConfig.cmake.in
  24. #
  25. # Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  26. #
  27. # All rights reserved.
  28. # See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
  29. #
  30. # This software is distributed WITHOUT ANY WARRANTY; without even
  31. # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  32. # PURPOSE. See the above copyright notice for more information.
  33. #
  34. ###########################################################################
  35. #
  36. # CTKConfig.cmake - CTK CMake configuration file for external projects.
  37. #
  38. # This file is configured by CTK and used by the UseCTK.cmake module
  39. # to load CTK's settings for an external project.
  40. @CTK_CONFIG_INSTALL_ONLY@
  41. # The CTK include file directories.
  42. SET(CTK_INCLUDE_DIRS "@CTK_INCLUDE_DIRS_CONFIG@")
  43. # The CTK library directories.
  44. SET(CTK_LIBRARY_DIRS "@CTK_LIBRARY_DIRS_CONFIG@")
  45. # The CTK binary executable directories. Note that if
  46. # CTK_CONFIGURATION_TYPES is set (see below) then these directories
  47. # will be the parent directories under which there will be a directory
  48. # of runtime binaries for each configuration type.
  49. SET(CTK_EXECUTABLE_DIRS "@CTK_EXECUTABLE_DIRS_CONFIG@")
  50. # The CTK runtime library directories. Note that if
  51. # CTK_CONFIGURATION_TYPES is set (see below) then these directories
  52. # will be the parent directories under which there will be a directory
  53. # of runtime libraries for each configuration type.
  54. SET(CTK_RUNTIME_LIBRARY_DIRS "@CTK_RUNTIME_LIBRARY_DIRS_CONFIG@")
  55. # The CTK Qt designer plugin directory. Note that if
  56. # CTK_CONFIGURATION_TYPES is set (see below) then these directories
  57. # will be the parent directories under which there will be a directory
  58. # of runtime libraries for each configuration type.
  59. SET(CTK_QTDESIGNERPLUGINS_DIR "@CTK_QTDESIGNERPLUGINS_DIR_CONFIG@")
  60. # The CTK version number
  61. SET(CTK_MAJOR_VERSION "@CTK_MAJOR_VERSION@")
  62. SET(CTK_MINOR_VERSION "@CTK_MINOR_VERSION@")
  63. SET(CTK_BUILD_VERSION "@CTK_BUILD_VERSION@")
  64. # The location of the UseCTK.cmake file.
  65. SET(CTK_USE_FILE "@CTK_USE_FILE@")
  66. # CMake extension module directory
  67. SET(CTK_CMAKE_DIR "@CTK_CMAKE_DIR_CONFIG@")
  68. SET(CTK_CMAKE_UTILITIES_DIR "@CTK_CMAKE_UTILITIES_DIR_CONFIG@")
  69. # TODO The list of available libraries.
  70. # TODO The list of available plugins.
  71. # TODO The list of available applications.
  72. # TODO The Doxygen configuration.
  73. #SET(CTK_DOXYGEN_HOME "@CTK_DOXYGEN_HOME_CONFIG@")
  74. # TODO Relative install paths in the CTK install tree
  75. #SET(CTK_INSTALL_BIN_DIR "@CTK_INSTALL_BIN_DIR@")
  76. #SET(CTK_INSTALL_INCLUDE_DIR "@CTK_INSTALL_INCLUDE_DIR@")
  77. #SET(CTK_INSTALL_LIB_DIR "@CTK_INSTALL_LIB_DIR@")
  78. #SET(CTK_INSTALL_PACKAGE_DIR "@CTK_INSTALL_PACKAGE_DIR@")
  79. # A CTK install tree always provides one build configuration. A CTK
  80. # build tree may provide either one or multiple build configurations
  81. # depending on the CMake generator used. Since CTK can be used either
  82. # from a build tree or an install tree it is useful for outside
  83. # projects to know the configurations available. If this
  84. # CTKConfig.cmake is in a CTK install tree CTK_CONFIGURATION_TYPES
  85. # will be empty and CTK_BUILD_TYPE will be set to the value of
  86. # CMAKE_BUILD_TYPE used to build CTK. If CTKConfig.cmake is in a CTK
  87. # build tree then CTK_CONFIGURATION_TYPES and CTK_BUILD_TYPE will have
  88. # values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE for
  89. # that build tree (only one will ever be set).
  90. SET(CTK_CONFIGURATION_TYPES @CTK_CONFIGURATION_TYPES_CONFIG@)
  91. SET(CTK_BUILD_TYPE @CTK_BUILD_TYPE_CONFIG@)