]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkConfigurationFile.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkConfigurationFile.cxx
index f7b9002db829248636b4e47cde8ecc48fb94262f..4fab8d8ec74d841fe00f47ab0a283afb827b69a9 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkConfigurationFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2009/01/27 14:22:56 $
-  Version:   $Revision: 1.26 $
+  Date:      $Date: 2009/01/28 13:20:32 $
+  Version:   $Revision: 1.28 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
 # include <windows.h>
 #endif
 
-#if defined(MACOSX) // assume this is OSX 
-# include <sys/param.h>
-# include <mach-o/dyld.h> // _NSGetExecutablePath : must add -framework CoreFoundation to link line 
-# include <string.h>
-# ifndef PATH_MAX
-#  define PATH_MAX MAXPATHLEN
-# endif
-#endif // MACOSX
-
-#ifndef PATH_MAX // If not defined yet : do it 
-#  define PATH_MAX 2048
-#endif
+
 
 
 namespace bbtk
@@ -553,6 +542,11 @@ namespace bbtk
     mPackage_paths.push_back(pack_path);
 
 #ifdef _WIN32
+    pack_path = path + "/RelWithDebInfo";
+    PACKPATH = BB.addChild((XMLCSTR)"package_path");
+    PACKPATH.addText((XMLCSTR)pack_path.c_str());
+    Utilities::replace(pack_path,INVALID_FILE_SEPARATOR,VALID_FILE_SEPARATOR);
+    mPackage_paths.push_back(pack_path);
     pack_path = path + "/Debug";
     PACKPATH = BB.addChild((XMLCSTR)"package_path");
     PACKPATH.addText((XMLCSTR)pack_path.c_str());