1 #-----------------------------------------------------------------------------
3 # GDCMConfig.cmake - CMake configuration file for external projects.
5 # This file is configured by GDCM and used by the UseGDCM.cmake
6 # module to load GDCM's settings for an external project.
7 @GDCM_CONFIG_INSTALL_ONLY@
8 # The GDCM version number.
9 SET(GDCM_MAJOR_VERSION "@GDCM_MAJOR_VERSION@")
10 SET(GDCM_MINOR_VERSION "@GDCM_MINOR_VERSION@")
11 SET(GDCM_BUILD_VERSION "@GDCM_BUILD_VERSION@")
12 SET(GDCM_VERSION "@GDCM_VERSION@")
15 SET(GDCM_LIBRARIES "@GDCM_LIBRARIES@")
17 # The list of available languages.
18 #SET(GDCM_LANGUAGES "Python")
20 # The CMake macros dir.
21 SET(GDCM_CMAKE_DIR "@GDCM_CMAKE_DIR_CONFIG@")
23 # The configuration options.
24 SET(GDCM_BUILD_SHARED_LIBS "@GDCM_BUILD_SHARED_LIBS@")
25 #SET(GDCM_USE_HTML_HELP "@GDCM_USE_HTML_HELP@")
27 # The C and C++ flags added to the cmake-configured flags.
28 SET(GDCM_REQUIRED_C_FLAGS
29 "@GDCM_REQUIRED_C_FLAGS@")
30 SET(GDCM_REQUIRED_CXX_FLAGS
31 "@GDCM_REQUIRED_CXX_FLAGS@")
32 SET(GDCM_REQUIRED_EXE_LINKER_FLAGS
33 "@GDCM_REQUIRED_EXE_LINKER_FLAGS@")
34 SET(GDCM_REQUIRED_SHARED_LINKER_FLAGS
35 "@GDCM_REQUIRED_SHARED_LINKER_FLAGS@")
36 SET(GDCM_REQUIRED_MODULE_LINKER_FLAGS
37 "@GDCM_REQUIRED_MODULE_LINKER_FLAGS@")
40 SET(GDCM_USE_FILE "@GDCM_USE_FILE_CONFIG@")
42 # The build settings file.
43 SET(GDCM_BUILD_SETTINGS_FILE "@GDCM_BUILD_SETTINGS_FILE_CONFIG@")
45 # The library directories.
46 SET(GDCM_LIBRARY_DIRS "@GDCM_LIBRARY_DIRS_CONFIG@")
48 # The runtime directories.
49 # Note that if GDCM_CONFIGURATION_TYPES is set (see below) then
50 # these directories will be the parent directories under which there will
51 # be a directory of runtime binaries for each configuration type.
52 SET(GDCM_RUNTIME_DIRS "@GDCM_RUNTIME_DIRS_CONFIG@")
54 # The include directories.
55 SET(GDCM_INCLUDE_DIRS "@GDCM_INCLUDE_DIRS_CONFIG@")
57 # The library dependencies file.
58 IF(NOT GDCM_NO_LIBRARY_DEPENDS)
59 INCLUDE("@GDCM_LIBRARY_DEPENDS_FILE@")
60 ENDIF(NOT GDCM_NO_LIBRARY_DEPENDS)
63 SET(GDCM_DATA_DIR "@GDCM_DATA_DIR@")
66 SET(GDCM_EXAMPLES_DIR "@GDCM_EXAMPLES_DIR_CONFIG@")
69 SET(GDCM_RESOURCES_DIR "@GDCM_RESOURCES_DIR_CONFIG@")
70 SET(GDCM_RESOURCE_MAJOR_VERSION
71 "@GDCM_RESOURCE_MAJOR_VERSION@")
72 SET(GDCM_RESOURCE_MINOR_VERSION
73 "@GDCM_RESOURCE_MINOR_VERSION@")
74 SET(GDCM_RESOURCE_APPLICATION_NAME
75 "@GDCM_RESOURCE_APPLICATION_NAME@")
76 SET(GDCM_RESOURCE_FILE_NAME
77 "@GDCM_RESOURCE_FILE_NAME@")
78 SET(GDCM_RESOURCE_COMPANY_NAME
79 "@GDCM_RESOURCE_COMPANY_NAME@")
82 #SET(GDCM_TCL_PACKAGE_INDEX_DIR
83 # "@GDCM_TCL_PACKAGE_INDEX_DIR_CONFIG@")
86 SET(GDCM_PYTHON_MODULE_DIR
87 "@GDCM_PYTHON_MODULE_DIR_CONFIG@")
89 # The Doxygen options.
90 SET(GDCM_DOXYGEN_DIR "@GDCM_DOXYGEN_DIR_CONFIG@")
93 SET(GDCM_VTK_DIR "@GDCM_VTK_DIR_CONFIG@")
95 # An install tree always provides one build configuration.
96 # A build tree may provide either one or multiple build
97 # configurations depending on the CMake generator used. Since
98 # this project can be used either from a build tree or an install tree it
99 # is useful for outside projects to know the configurations available.
100 # If this GDCMConfig.cmake is in an install tree
101 # GDCM_CONFIGURATION_TYPES will be empty and GDCM_BUILD_TYPE
102 # will be set to the value of CMAKE_BUILD_TYPE used to build
103 # GDCM. If GDCMConfig.cmake is in a build tree
104 # then GDCM_CONFIGURATION_TYPES and GDCM_BUILD_TYPE will
105 # have values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE
106 # for that build tree (only one will ever be set).
107 SET(GDCM_CONFIGURATION_TYPES @GDCM_CONFIGURATION_TYPES_CONFIG@)
108 SET(GDCM_BUILD_TYPE @GDCM_BUILD_TYPE_CONFIG@)