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@")
13 SET(GDCM_LIBRARIES "@GDCM_LIBRARIES@")
15 # The CMake macros dir.
16 SET(GDCM_CMAKE_DIR "@GDCM_CMAKE_DIR_CONFIG@")
18 # The configuration options.
19 SET(GDCM_BUILD_SHARED_LIBS "@GDCM_BUILD_SHARED_LIBS@")
20 SET(GDCM_VTK "@GDCM_VTK@")
22 # The C and C++ flags added to the cmake-configured flags.
23 SET(GDCM_REQUIRED_C_FLAGS
24 "@GDCM_REQUIRED_C_FLAGS@")
25 SET(GDCM_REQUIRED_CXX_FLAGS
26 "@GDCM_REQUIRED_CXX_FLAGS@")
27 SET(GDCM_REQUIRED_EXE_LINKER_FLAGS
28 "@GDCM_REQUIRED_EXE_LINKER_FLAGS@")
29 SET(GDCM_REQUIRED_SHARED_LINKER_FLAGS
30 "@GDCM_REQUIRED_SHARED_LINKER_FLAGS@")
31 SET(GDCM_REQUIRED_MODULE_LINKER_FLAGS
32 "@GDCM_REQUIRED_MODULE_LINKER_FLAGS@")
35 SET(GDCM_USE_FILE "@GDCM_USE_FILE_CONFIG@")
37 # The build settings file.
38 SET(GDCM_BUILD_SETTINGS_FILE "@GDCM_BUILD_SETTINGS_FILE_CONFIG@")
40 # The library directories.
41 SET(GDCM_LIBRARY_DIRS "@GDCM_LIBRARY_DIRS_CONFIG@")
43 # The runtime directories.
44 # Note that if GDCM_CONFIGURATION_TYPES is set (see below) then
45 # these directories will be the parent directories under which there will
46 # be a directory of runtime binaries for each configuration type.
47 SET(GDCM_RUNTIME_DIRS "@GDCM_RUNTIME_DIRS_CONFIG@")
49 # The include directories.
50 SET(GDCM_INCLUDE_DIRS "@GDCM_INCLUDE_DIRS_CONFIG@")
52 # The library dependencies file.
53 IF(NOT GDCM_NO_LIBRARY_DEPENDS AND
54 EXISTS "@GDCM_LIBRARY_DEPENDS_FILE@")
55 INCLUDE("@GDCM_LIBRARY_DEPENDS_FILE@")
56 ENDIF(NOT GDCM_NO_LIBRARY_DEPENDS AND
57 EXISTS "@GDCM_LIBRARY_DEPENDS_FILE@")
61 SET(GDCM_VTK_DIR "@GDCM_VTK_DIR_CONFIG@")
64 # An install tree always provides one build configuration.
65 # A build tree may provide either one or multiple build
66 # configurations depending on the CMake generator used. Since
67 # this project can be used either from a build tree or an install tree it
68 # is useful for outside projects to know the configurations available.
69 # If this GDCMConfig.cmake is in an install tree
70 # GDCM_CONFIGURATION_TYPES will be empty and GDCM_BUILD_TYPE
71 # will be set to the value of CMAKE_BUILD_TYPE used to build
72 # GDCM. If GDCMConfig.cmake is in a build tree
73 # then GDCM_CONFIGURATION_TYPES and GDCM_BUILD_TYPE will
74 # have values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE
75 # for that build tree (only one will ever be set).
76 SET(GDCM_CONFIGURATION_TYPES @GDCM_CONFIGURATION_TYPES_CONFIG@)
77 SET(GDCM_BUILD_TYPE @GDCM_BUILD_TYPE_CONFIG@)