]> Creatis software - gdcm.git/blobdiff - gdcmConfigure.h.in
* Remove memory leaks
[gdcm.git] / gdcmConfigure.h.in
index 816416132434a802ece72e092d83c00e6f9ac2fb..3283168ca78f103fe4078276e7e3603ba75309b6 100644 (file)
@@ -1,3 +1,21 @@
+/*=========================================================================
+                                                                                
+  Program:   gdcm
+  Module:    $RCSfile: gdcmConfigure.h.in,v $
+  Language:  C++
+  Date:      $Date: 2005/10/24 01:16:19 $
+  Version:   $Revision: 1.20 $
+                                                                                
+  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
 
 /* 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 plateform */
 #cmakedefine GDCM_NO_ANSI_STRING_STREAM
 
 /* GDCM uses __FUNCTION__ which is not ANSI C, but C99 */
 #cmakedefine GDCM_COMPILER_HAS_FUNCTION
 
+#define GDCM_SIZEOF_LONG @GDCM_SIZEOF_LONG@
+
+/* Special JPR */
+#cmakedefine CMAKE_HAVE_SYS_TIMES_H
 
 /* GetMacAddress require a lot of include file to access low level API */
 #cmakedefine CMAKE_HAVE_UNISTD_H
 #define GDCM_BUILD_VERSION @GDCM_BUILD_VERSION@
 #define GDCM_VERSION "@GDCM_VERSION@"
 
+/*--------------------------------------------------------------------------*/
+/* GDCM deprecation mechanism                                               */
+#cmakedefine GDCM_LEGACY_REMOVE
+#cmakedefine GDCM_LEGACY_SILENT
+
 
 #endif