/*========================================================================= Program: crea Module: $RCSfile: creaConfigure.h.in,v $ Language: C++ Date: $Date: 2008/10/10 09:53:57 $ Version: $Revision: 1.2 $ 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 __creaConfigure_h #define __creaConfigure_h /* This header is configured by CREA's build process. */ /*--------------------------------------------------------------------------*/ /* Platform Features */ /* Byte order. */ #cmakedefine CREA_WORDS_BIGENDIAN /* Allow access to UINT32_MAX , cf creaCommon.h */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif /* Hardcode the path to CREA_DATA_ROOT */ #ifndef CREA_DATA_ROOT #define CREA_DATA_ROOT "@CREA_DATA_ROOT@" #endif /* Usefull in particular for loadshared where the full path * to the lib is needed */ #define CREA_EXECUTABLE_OUTPUT_PATH "@EXECUTABLE_OUTPUT_PATH@" #define CREA_LIBRARY_OUTPUT_PATH "@LIBRARY_OUTPUT_PATH@" #define CREA_DATA_PATH "@CREA_DATA_ROOT@" /* For older gcc / broken plateform */ #cmakedefine CREA_NO_ANSI_STRING_STREAM /* I guess something important */ #cmakedefine CMAKE_HAVE_STDINT_H #cmakedefine CMAKE_HAVE_INTTYPES_H #cmakedefine CMAKE_HAVE_TERMIOS_H /* This variable allows you to have helpful debug statement */ /* That are in between #ifdef / endif in the crea code */ /* That means if CREA_DEBUG is OFF there shouldn't be any 'cout' at all ! */ /* only cerr, for instance 'invalid file' will be allowed */ #cmakedefine CREA_DEBUG /* Whether we are building shared libraries. */ /* This was important as long as CREA is LGPL */ #cmakedefine BUILD_SHARED_LIBS /* CREA uses __FUNCTION__ which is not ANSI C, but C99 */ #cmakedefine CREA_COMPILER_HAS_FUNCTION #define CREA_SIZEOF_LONG @CREA_SIZEOF_LONG@ /* Special time structure support */ #cmakedefine CMAKE_HAVE_SYS_TIMES_H #cmakedefine CMAKE_HAVE_SYS_TIMEB_H /* 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 /*--------------------------------------------------------------------------*/ /* CREA Versioning */ /* Version number. */ #ifndef CREA_VERSION #define CREA_MAJOR_VERSION @CREA_MAJOR_VERSION@ #define CREA_MINOR_VERSION @CREA_MINOR_VERSION@ #define CREA_BUILD_VERSION @CREA_BUILD_VERSION@ #define CREA_VERSION "@CREA_VERSION@" #endif #endif