File: gdcmConfigure.h.in

package info (click to toggle)
insighttoolkit 3.20.1%2Bgit20120521-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 80,652 kB
  • sloc: cpp: 458,133; ansic: 196,223; fortran: 28,000; python: 3,839; tcl: 1,811; sh: 1,184; java: 583; makefile: 430; csh: 220; perl: 193; xml: 20
file content (110 lines) | stat: -rw-r--r-- 4,187 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/*=========================================================================
                                                                                
  Program:   gdcm
  Module:    gdcmConfigure.h.in
  Language:  C++
  Date:      $Date$
  Version:   $Revision$
                                                                                
  Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
  l'Image). All rights reserved. See Doc/License.txt or
  http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
                                                                                
     This software is distributed WITHOUT ANY WARRANTY; without even
     the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
     PURPOSE.  See the above copyright notices for more information.
                                                                                
=========================================================================*/

#ifndef __gdcmConfigure_h
#define __gdcmConfigure_h

/* This header is configured by GDCM's build process.  */

/*--------------------------------------------------------------------------*/
/* Platform Features                                                        */

/* Byte order.  */
/* All compilers that support Mac OS X define either __BIG_ENDIAN__ or
   __LITTLE_ENDIAN__ to match the endianness of the architecture being
   compiled for. This is not necessarily the same as the architecture of
   the machine doing the building. In order to support Universal Binaries on
   Mac OS X, we prefer those defines to decide the endianness.
   On other platform, we use the result of the TRY_RUN. */
#if !defined(__APPLE__)
  #cmakedefine GDCM_WORDS_BIGENDIAN
#elif defined(__BIG_ENDIAN__)
  #define GDCM_WORDS_BIGENDIAN
#endif

/* Allow access to UINT32_MAX , cf gdcmCommon.h */
#define __STDC_LIMIT_MACROS

/* Hard code the path to the public dictionary */
#define PUB_DICT_PATH "@GDCM_PUB_DICT_PATH@"

/* Hardcode the path to GDCM_DATA_ROOT */
#define GDCM_DATA_ROOT "@GDCM_DATA_ROOT@"

/* Usefull in particular for loadshared where the full path
 * to the lib is needed */
#define GDCM_EXECUTABLE_OUTPUT_PATH "@EXECUTABLE_OUTPUT_PATH@"
#define GDCM_LIBRARY_OUTPUT_PATH    "@LIBRARY_OUTPUT_PATH@"

/* For older gcc / broken platform */
#cmakedefine GDCM_NO_ANSI_STRING_STREAM

/* I guess something important */
#cmakedefine CMAKE_HAVE_STDINT_H
#cmakedefine CMAKE_HAVE_INTTYPES_H

/* This variable allows you to have helpful debug statement */
/* That are in between #ifdef / endif in the gdcm code */
/* That means if GDCM_DEBUG is OFF there shouldn't be any 'cout' at all ! */
/* only cerr, for instance 'invalid file' will be allowed */
#cmakedefine GDCM_DEBUG

/* Whether we are building shared libraries.  */
/* This was important as long as GDCM is LGPL */
#cmakedefine BUILD_SHARED_LIBS

/* GDCM uses __FUNCTION__ which is not ANSI C89, but is in ANSI C99 */
#cmakedefine GDCM_COMPILER_HAS_FUNCTION

#cmakedefine GDCM_SYSTEM_UUID_FOUND


/* GetMacAddress require a lot of include file to access low level API */
#cmakedefine CMAKE_HAVE_UNISTD_H
#cmakedefine CMAKE_HAVE_STDLIB_H
#cmakedefine CMAKE_HAVE_SYS_IOCTL_H
#cmakedefine CMAKE_HAVE_SYS_SOCKET_H
#cmakedefine CMAKE_HAVE_SYS_SOCKIO_H
#cmakedefine CMAKE_HAVE_NET_IF_H
#cmakedefine CMAKE_HAVE_NETINET_IN_H
#cmakedefine CMAKE_HAVE_NET_IF_DL_H
#cmakedefine CMAKE_HAVE_NET_IF_ARP_H
#cmakedefine HAVE_SA_LEN

#cmakedefine GDCM_FORCE_BIGENDIAN_EMULATION

/* For OpenJPEG */
#cmakedefine OPJ_EXPORTS
#cmakedefine OPJ_STATIC

/*--------------------------------------------------------------------------*/
/* GDCM Versioning                                                          */

/* Version number.  */
#define GDCM_MAJOR_VERSION @GDCM_MAJOR_VERSION@
#define GDCM_MINOR_VERSION @GDCM_MINOR_VERSION@
#define GDCM_BUILD_VERSION @GDCM_BUILD_VERSION@
#define GDCM_VERSION "@GDCM_VERSION@"

/*--------------------------------------------------------------------------*/
/* GDCM deprecation mechanism                                               */
#cmakedefine GDCM_LEGACY_REMOVE
#cmakedefine GDCM_LEGACY_SILENT


#endif