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.
8 # Compute the installation prefix from GDCM_DIR.
9 SET(GDCM_INSTALL_PREFIX "${GDCM_DIR}")
10 GET_FILENAME_COMPONENT(GDCM_INSTALL_PREFIX "${GDCM_INSTALL_PREFIX}" PATH)
11 GET_FILENAME_COMPONENT(GDCM_INSTALL_PREFIX "${GDCM_INSTALL_PREFIX}" PATH)
13 # The GDCM version number.
14 SET(GDCM_MAJOR_VERSION "1")
15 SET(GDCM_MINOR_VERSION "3")
16 SET(GDCM_BUILD_VERSION "1")
17 SET(GDCM_VERSION "1.3.1")
20 SET(GDCM_LIBRARIES "gdcm")
22 # The list of available languages.
23 #SET(GDCM_LANGUAGES "Python")
25 # The CMake macros dir.
26 SET(GDCM_CMAKE_DIR "${GDCM_INSTALL_PREFIX}/lib/gdcm/CMake")
28 # The configuration options.
29 SET(GDCM_BUILD_SHARED_LIBS "")
30 #SET(GDCM_USE_HTML_HELP "")
32 # The C and C++ flags added to the cmake-configured flags.
33 SET(GDCM_REQUIRED_C_FLAGS
35 SET(GDCM_REQUIRED_CXX_FLAGS
37 SET(GDCM_REQUIRED_EXE_LINKER_FLAGS
39 SET(GDCM_REQUIRED_SHARED_LINKER_FLAGS
41 SET(GDCM_REQUIRED_MODULE_LINKER_FLAGS
45 SET(GDCM_USE_FILE "${GDCM_INSTALL_PREFIX}/lib/gdcm/UseGDCM.cmake")
47 # The build settings file.
48 SET(GDCM_BUILD_SETTINGS_FILE "${GDCM_INSTALL_PREFIX}/lib/gdcm/GDCMBuildSettings.cmake")
50 # The library directories.
51 SET(GDCM_LIBRARY_DIRS "${GDCM_INSTALL_PREFIX}/lib/gdcm")
53 # The runtime directories.
54 # Note that if GDCM_CONFIGURATION_TYPES is set (see below) then
55 # these directories will be the parent directories under which there will
56 # be a directory of runtime binaries for each configuration type.
57 SET(GDCM_RUNTIME_DIRS "${GDCM_INSTALL_PREFIX}/bin")
59 # The include directories.
60 SET(GDCM_INCLUDE_DIRS "${GDCM_INSTALL_PREFIX}/include/gdcm")
62 # The library dependencies file.
63 IF(NOT GDCM_NO_LIBRARY_DEPENDS)
64 INCLUDE("${GDCM_INSTALL_PREFIX}/lib/gdcm/GDCMLibraryDepends.cmake")
65 ENDIF(NOT GDCM_NO_LIBRARY_DEPENDS)
68 SET(GDCM_DATA_DIR "${GDCM_INSTALL_PREFIX}/share/gdcm/Data")
71 SET(GDCM_EXAMPLES_DIR "${GDCM_INSTALL_PREFIX}/share/gdcm/Examples")
74 SET(GDCM_RESOURCES_DIR "")
75 SET(GDCM_RESOURCE_MAJOR_VERSION
77 SET(GDCM_RESOURCE_MINOR_VERSION
79 SET(GDCM_RESOURCE_APPLICATION_NAME
81 SET(GDCM_RESOURCE_FILE_NAME
83 SET(GDCM_RESOURCE_COMPANY_NAME
87 #SET(GDCM_TCL_PACKAGE_INDEX_DIR
91 SET(GDCM_PYTHON_MODULE_DIR
94 # The Doxygen options.
95 SET(GDCM_DOXYGEN_DIR "${GDCM_INSTALL_PREFIX}")
98 SET(GDCM_VTK_DIR "C:/Creatis/VTKBin")
100 # An install tree always provides one build configuration.
101 # A build tree may provide either one or multiple build
102 # configurations depending on the CMake generator used. Since
103 # this project can be used either from a build tree or an install tree it
104 # is useful for outside projects to know the configurations available.
105 # If this GDCMConfig.cmake is in an install tree
106 # GDCM_CONFIGURATION_TYPES will be empty and GDCM_BUILD_TYPE
107 # will be set to the value of CMAKE_BUILD_TYPE used to build
108 # GDCM. If GDCMConfig.cmake is in a build tree
109 # then GDCM_CONFIGURATION_TYPES and GDCM_BUILD_TYPE will
110 # have values matching CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE
111 # for that build tree (only one will ever be set).
112 SET(GDCM_CONFIGURATION_TYPES )
113 SET(GDCM_BUILD_TYPE Release)