X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2Fcmake%2FbbtkConfigure.h.in;h=9983c57b91d323b3233dae37a8d0e900e0d7b3ce;hb=536dfc0a21b307fe5fa18afca108a77a5f79a6f6;hp=d9654e4b06ca2c6801c7d647b67695535df10ee4;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/kernel/src/cmake/bbtkConfigure.h.in b/kernel/src/cmake/bbtkConfigure.h.in index d9654e4..9983c57 100644 --- a/kernel/src/cmake/bbtkConfigure.h.in +++ b/kernel/src/cmake/bbtkConfigure.h.in @@ -1,18 +1,37 @@ +/* + # --------------------------------------------------------------------- + # + # 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: 2008/01/22 15:02:00 $ - Version: $Revision: 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. + Date: $Date: 2012/11/16 08:49:22 $ + Version: $Revision: 1.5 $ =========================================================================*/ @@ -28,11 +47,14 @@ #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 */ @@ -83,10 +105,12 @@ /* 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 @BBTK_VERSION@ +#define BBTK_VERSION_STRING "@BBTK_VERSION@" +#endif #endif