]> Creatis software - gdcm.git/blobdiff - gdcmConfigure.h.in
ENH: New support for cmake 2.0.1
[gdcm.git] / gdcmConfigure.h.in
index 08856ac9cd87d092643ef0879f74c24c27bf2723..24294d6c5ba16038f7fa506d04a4ecd43c5b25aa 100644 (file)
@@ -1,11 +1,46 @@
+#ifndef __gdcmConfigure_h
+#define __gdcmConfigure_h
+
+/* This header is configured by GDCM's build process.  */
+
+/*--------------------------------------------------------------------------*/
+/* Platform Features                                                        */
+
+/* Byte order.  */
+//#cmakedefine VTK_WORDS_BIGENDIAN
+
+/* 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@"
 
+/* For older gcc / broken plateform */
 #cmakedefine GDCM_NO_ANSI_STRING_STREAM
 
+/* I guess something important */
 #cmakedefine HAVE_NO_STDINT_H 
 
+/* This variable allows you to have helpful debug statement */
+/* That are in between #idfef / enif in the gdcm code */
 #cmakedefine GDCM_DEBUG
+
+/* Whether we are building shared libraries.  */
+/* This is important as long as GDCM is LGPL */
+#cmakedefine BUILD_SHARED_LIBS
+
+
+/*--------------------------------------------------------------------------*/
+/* 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@"
+
+
+#endif