]> Creatis software - gdcm.git/blob - gdcmConfigure.h.in
ENH: Adding a deprecation mechanism to gdcm via two MACRO and two config options
[gdcm.git] / gdcmConfigure.h.in
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmConfigure.h.in,v $
5   Language:  C++
6   Date:      $Date: 2005/07/19 14:43:46 $
7   Version:   $Revision: 1.17 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18
19 #ifndef __gdcmConfigure_h
20 #define __gdcmConfigure_h
21
22 /* This header is configured by GDCM's build process.  */
23
24 /*--------------------------------------------------------------------------*/
25 /* Platform Features                                                        */
26
27 /* Byte order.  */
28 #cmakedefine GDCM_WORDS_BIGENDIAN
29
30 /* Allow access to UINT32_MAX , cf gdcmCommon.h */
31 #define __STDC_LIMIT_MACROS
32
33 /* Hard code the path to the public dictionary */
34 #define PUB_DICT_PATH "@GDCM_PUB_DICT_PATH@"
35
36 /* Hardcode the path to GDCM_DATA_ROOT */
37 #define GDCM_DATA_ROOT "@GDCM_DATA_ROOT@"
38
39 /* For older gcc / broken plateform */
40 #cmakedefine GDCM_NO_ANSI_STRING_STREAM
41
42 /* I guess something important */
43 #cmakedefine CMAKE_HAVE_STDINT_H
44 #cmakedefine CMAKE_HAVE_INTTYPES_H
45
46 /* This variable allows you to have helpful debug statement */
47 /* That are in between #ifdef / endif in the gdcm code */
48 /* That means if GDCM_DEBUG is OFF there shouldn't be any 'cout' at all ! */
49 /* only cerr, for instance 'invalid file' will be allowed */
50 #cmakedefine GDCM_DEBUG
51
52 /* Whether we are building shared libraries.  */
53 /* This was important as long as GDCM is LGPL */
54 #cmakedefine BUILD_SHARED_LIBS
55
56 /* GDCM uses __FUNCTION__ which is not ANSI C, but C99 */
57 #cmakedefine GDCM_COMPILER_HAS_FUNCTION
58
59
60 /* GetMacAddress require a lot of include file to access low level API */
61 #cmakedefine CMAKE_HAVE_UNISTD_H
62 #cmakedefine CMAKE_HAVE_STDLIB_H
63 #cmakedefine CMAKE_HAVE_SYS_IOCTL_H
64 #cmakedefine CMAKE_HAVE_SYS_SOCKET_H
65 #cmakedefine CMAKE_HAVE_SYS_SOCKIO_H
66 #cmakedefine CMAKE_HAVE_NET_IF_H
67 #cmakedefine CMAKE_HAVE_NETINET_IN_H
68 #cmakedefine CMAKE_HAVE_NET_IF_DL_H
69 #cmakedefine CMAKE_HAVE_NET_IF_ARP_H
70 #cmakedefine HAVE_SA_LEN
71
72 #cmakedefine GDCM_FORCE_BIGENDIAN_EMULATION
73
74 /*--------------------------------------------------------------------------*/
75 /* GDCM Versioning                                                          */
76
77 /* Version number.  */
78 #define GDCM_MAJOR_VERSION @GDCM_MAJOR_VERSION@
79 #define GDCM_MINOR_VERSION @GDCM_MINOR_VERSION@
80 #define GDCM_BUILD_VERSION @GDCM_BUILD_VERSION@
81 #define GDCM_VERSION "@GDCM_VERSION@"
82
83 /*--------------------------------------------------------------------------*/
84 /* GDCM deprecation mechanism                                               */
85 #cmakedefine GDCM_LEGACY_REMOVE
86 #cmakedefine GDCM_LEGACY_SILENT
87
88
89 #endif