/* # --------------------------------------------------------------------- # # Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image # pour la SantÈ) # Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton # Previous Authors : Laurent Guigues, Jean-Pierre Roux # CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil # # This software is governed by the CeCILL-B license under French law and # abiding by the rules of distribution of free software. You can use, # modify and/ or redistribute the software under the terms of the CeCILL-B # license as circulated by CEA, CNRS and INRIA at the following URL # http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html # or in the file LICENSE.txt. # # As a counterpart to the access to the source code and rights to copy, # modify and redistribute granted by the license, users are provided only # with a limited warranty and the software's author, the holder of the # economic rights, and the successive licensors have only limited # liability. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ------------------------------------------------------------------------ */ /*========================================================================= Program: bbtk Module: $RCSfile: bbtkConfigure.h.in,v $ Language: C++ Date: $Date: 2012/11/16 08:49:22 $ Version: $Revision: 1.5 $ =========================================================================*/ #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 */ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif /* Hardcode the path to BBTK_DATA_ROOT */ #ifndef BBTK_DATA_ROOT #define BBTK_DATA_ROOT "@BBTK_DATA_ROOT@" #endif /* 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. */ #ifndef BBTK_VERSION #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@ #define BBTK_VERSION_STRING "@BBTK_VERSION@" #endif #endif