]> Creatis software - bbtk.git/blobdiff - kernel/src/cmake/bbtkConfigure.h.in
Windows compilation
[bbtk.git] / kernel / src / cmake / bbtkConfigure.h.in
index d9654e4b06ca2c6801c7d647b67695535df10ee4..440835b1209c67b62153c9ecbeebf5dcac2608dd 100644 (file)
@@ -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: 2008/11/17 10:00:27 $
+  Version:   $Revision: 1.3 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -32,7 +32,9 @@
 
 
 /* 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 */
 /* 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