/*========================================================================= Program: bbtk Module: $RCSfile: bbtkConfigure.h.in,v $ Language: C++ Date: $Date: 2008/01/22 15:02:00 $ Version: $Revision: 1.1.1.1 $ 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 __bbtkConfigure_h #define __bbtkConfigure_h /* This header is configured by BBTK's build process. */ /*--------------------------------------------------------------------------*/ /* Platform Features */ /* Byte order. */ #cmakedefine BBTK_WORDS_BIGENDIAN /* Allow access to UINT32_MAX , cf bbtkCommon.h */ #define __STDC_LIMIT_MACROS /* Hardcode the path to BBTK_DATA_ROOT */ #define BBTK_DATA_ROOT "@BBTK_DATA_ROOT@" /* Usefull in particular for loadshared where the full path * to the lib is needed */ #define BBTK_EXECUTABLE_OUTPUT_PATH "@EXECUTABLE_OUTPUT_PATH@" #define BBTK_LIBRARY_OUTPUT_PATH "@LIBRARY_OUTPUT_PATH@" #define BBTK_DATA_PATH "@BBTK_DATA_ROOT@" /* For older gcc / broken plateform */ #cmakedefine BBTK_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 bbtk code */ /* That means if BBTK_DEBUG is OFF there shouldn't be any 'cout' at all ! */ /* only cerr, for instance 'invalid file' will be allowed */ #cmakedefine BBTK_DEBUG /* Whether we are building shared libraries. */ /* This was important as long as BBTK is LGPL */ #cmakedefine BUILD_SHARED_LIBS /* BBTK uses __FUNCTION__ which is not ANSI C, but C99 */ #cmakedefine BBTK_COMPILER_HAS_FUNCTION #define BBTK_SIZEOF_LONG @BBTK_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 /*--------------------------------------------------------------------------*/ /* BBTK Versioning */ /* Version number. */ #define BBTK_MAJOR_VERSION @BBTK_MAJOR_VERSION@ #define BBTK_MINOR_VERSION @BBTK_MINOR_VERSION@ #define BBTK_BUILD_VERSION @BBTK_BUILD_VERSION@ #define BBTK_VERSION "@BBTK_VERSION@" #endif