X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2Fcmake%2FbbtkConfigure.h.in;h=80114ce23f332c04583da6a0064b4855bd72fbf6;hb=73c50056dc4c352c2cc2209a12533e5566a32b06;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..80114ce 100644 --- a/kernel/src/cmake/bbtkConfigure.h.in +++ b/kernel/src/cmake/bbtkConfigure.h.in @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkConfigure.h.in,v $ Language: C++ - Date: $Date: 2008/01/22 15:02:00 $ - Version: $Revision: 1.1 $ + Date: $Date: 2009/06/09 08:42:16 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -28,11 +28,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 +86,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