X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fstd%2Fsrc%2FbbstdConfiguration.cxx;fp=packages%2Fstd%2Fsrc%2FbbstdConfiguration.cxx;h=8981782aa6af169b5c3b43c78db9190acbd085be;hb=029bec1fef526327df088b15771a4a4d84af7b0b;hp=e5d8844e189551eab4c5f2849ad1845172fa0f6d;hpb=174355911252cb3817305ef368acd995a02ab245;p=bbtk.git diff --git a/packages/std/src/bbstdConfiguration.cxx b/packages/std/src/bbstdConfiguration.cxx index e5d8844..8981782 100644 --- a/packages/std/src/bbstdConfiguration.cxx +++ b/packages/std/src/bbstdConfiguration.cxx @@ -4,28 +4,29 @@ #include "bbtkConfigurationFile.h" namespace bbstd { - BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration) - BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::AtomicBlackBox); - - void Configuration::bbUserConstructor() - { - - } - - void Configuration::DoProcess() - { - bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); - bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() ); - bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); - + BBTK_ADD_BLACK_BOX_TO_PACKAGE(std,Configuration) + BBTK_USER_BLACK_BOX_IMPLEMENTATION(Configuration,bbtk::AtomicBlackBox); + + void Configuration::bbUserConstructor() + { + + } + + void Configuration::DoProcess() + { + bbSetOutputBinPath( bbtk::ConfigurationFile::GetInstance().Get_bin_path() ); + bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); + bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() ); + bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); + #if defined(__GNUC__) - bbSetOutputSystemType( 0 ); + bbSetOutputSystemType( 0 ); #elif defined(_WIN32) - bbSetOutputSystemType( 1 ); + bbSetOutputSystemType( 1 ); #else - bbSetOutputSystemType( -1 ); + bbSetOutputSystemType( -1 ); #endif - - } + + } } // EO namespace bbstd