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")
21 SET(GDCM_NAME_SPACE @GDCM_NAME_SPACE@)
23 # The CMake macros dir.
24 SET(GDCM_CMAKE_DIR "@GDCM_CMAKE_DIR_CONFIG@")
26 # The configuration options.
27 SET(GDCM_BUILD_SHARED_LIBS "@GDCM_BUILD_SHARED_LIBS@")
28 #SET(GDCM_USE_HTML_HELP "@GDCM_USE_HTML_HELP@")
30 # The C and C++ flags added to the cmake-configured flags.
31 SET(GDCM_REQUIRED_C_FLAGS
32 "@GDCM_REQUIRED_C_FLAGS@")
33 SET(GDCM_REQUIRED_CXX_FLAGS
34 "@GDCM_REQUIRED_CXX_FLAGS@")
35 SET(GDCM_REQUIRED_EXE_LINKER_FLAGS
36 "@GDCM_REQUIRED_EXE_LINKER_FLAGS@")
37 SET(GDCM_REQUIRED_SHARED_LINKER_FLAGS
38 "@GDCM_REQUIRED_SHARED_LINKER_FLAGS@")
39 SET(GDCM_REQUIRED_MODULE_LINKER_FLAGS
40 "@GDCM_REQUIRED_MODULE_LINKER_FLAGS@")
43 SET(GDCM_USE_FILE "@GDCM_USE_FILE_CONFIG@")
45 # The build settings file.
46 SET(GDCM_BUILD_SETTINGS_FILE "@GDCM_BUILD_SETTINGS_FILE_CONFIG@")
48 # The library directories.
49 SET(GDCM_LIBRARY_DIRS "@GDCM_LIBRARY_DIRS_CONFIG@")
51 # The runtime directories.
52 # Note that if GDCM_CONFIGURATION_TYPES is set (see below) then
53 # these directories will be the parent directories under which there will
54 # be a directory of runtime binaries for each configuration type.
55 SET(GDCM_RUNTIME_DIRS "@GDCM_RUNTIME_DIRS_CONFIG@")
57 # The include directories.
58 SET(GDCM_INCLUDE_DIRS "@GDCM_INCLUDE_DIRS_CONFIG@")
60 # The library dependencies file.
61 IF(NOT GDCM_NO_LIBRARY_DEPENDS)
62 INCLUDE("@GDCM_LIBRARY_DEPENDS_FILE@")
63 ENDIF(NOT GDCM_NO_LIBRARY_DEPENDS)
66 SET(GDCM_DATA_DIR "@GDCM_DATA_DIR@")
69 SET(GDCM_EXAMPLES_DIR "@GDCM_EXAMPLES_DIR_CONFIG@")
72 SET(GDCM_RESOURCES_DIR "@GDCM_RESOURCES_DIR_CONFIG@")
73 SET(GDCM_RESOURCE_MAJOR_VERSION
74 "@GDCM_RESOURCE_MAJOR_VERSION@")
75 SET(GDCM_RESOURCE_MINOR_VERSION
76 "@GDCM_RESOURCE_MINOR_VERSION@")
77 SET(GDCM_RESOURCE_APPLICATION_NAME
78 "@GDCM_RESOURCE_APPLICATION_NAME@")
79 SET(GDCM_RESOURCE_FILE_NAME
80 "@GDCM_RESOURCE_FILE_NAME@")
81 SET(GDCM_RESOURCE_COMPANY_NAME
82 "@GDCM_RESOURCE_COMPANY_NAME@")
85 #SET(GDCM_TCL_PACKAGE_INDEX_DIR
86 # "@GDCM_TCL_PACKAGE_INDEX_DIR_CONFIG@")
89 SET(GDCM_PYTHON_MODULE_DIR
90 "@GDCM_PYTHON_MODULE_DIR_CONFIG@")
92 # The Doxygen options.
93 SET(GDCM_DOXYGEN_DIR "@GDCM_DOXYGEN_DIR_CONFIG@")
96 SET(GDCM_VTK_DIR "@GDCM_VTK_DIR_CONFIG@")
98 # An install tree always provides one build configuration.
99 # A build tree may provide either one or multiple build
100 # configurations depending on the CMake generator used. Since
101 # this project can be used either from a build tree or an install tree it
102 # is useful for outside projects to know the configurations available.
103 # If this GDCMConfig.cmake is in an install tree
104 # GDCM_CONFIGURATION_TYPES will be empty and GDCM_BUILD_TYPE
105 # will be set to the value of CMAKE_BUILD_TYPE used to build
106 # GDCM. If GDCMConfig.cmake is in a build tree
107 # then GDCM_CONFIGURATION_TYPES and GDCM_BUILD_TYPE will
108 # have values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE
109 # for that build tree (only one will ever be set).
110 SET(GDCM_CONFIGURATION_TYPES @GDCM_CONFIGURATION_TYPES_CONFIG@)
111 SET(GDCM_BUILD_TYPE @GDCM_BUILD_TYPE_CONFIG@)