Program: bbtk
Module: $RCSfile: bbtkConfigurationFile.cxx,v $
Language: C++
- Date: $Date: 2008/02/22 17:36:42 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2008/03/03 08:06:36 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
/// Constructor
ConfigurationFile::ConfigurationFile()
{
+
// file separator
#if defined(_WIN32)
mFile_separator = "\\";
bbtkMessage("Config",1," ==> prefix : '"<<mInstall_path<<"'"<<std::endl);
bbtkMessage("Config",1," ==> doc : '"<<mDoc_path<<"'"<<std::endl);
bbtkMessage("Config",1," ==> bbs : '"<<mBbs_path<<"'"<<std::endl);
- // bbtkMessage("Config",1," ==> rsc : '"<<mRsc_path<<"'"<<std::endl);
bbtkMessage("Config",1," ==> data : '"<<mData_path<<"'"<<std::endl);
// always add "." (current working directory) at the begining
mBbs_paths.push_back(".");
// add system bbs path
+ mBbs_paths.push_back(mBbs_path);
+ // add toolsbbtk/appli
+ std::string toolsappli_rel_path(mFile_separator);
+ toolsappli_rel_path += "toolsbbtk" + mFile_separator + "appli";
+ mBbs_paths.push_back(mBbs_path + toolsappli_rel_path);
#ifdef WIN32
-//EED for windows BUILD tree
- mBbs_paths.push_back(mInstall_path + mFile_separator + ".." + mFile_separator + mBbs_rel_path);
+ //EED for windows BUILD tree
+ std::string winbbspath = mInstall_path + mFile_separator + ".." + mFile_separator + mBbs_rel_path;
+ mBbs_paths.push_back(winbbspath);
+ // add toolsbbtk/appli
+ mBbs_paths.push_back(winbbspath + toolsappli_rel_path);
#endif
- mBbs_paths.push_back(mBbs_path);
+
// always add "." (current working directory) at the begining
mPackage_paths.push_back(".");