From: guigues Date: Mon, 18 Feb 2008 09:05:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: r0.6.1~186 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=cd48d6c543f0238a07dade3387b3c363096d9179;p=bbtk.git *** empty log message *** --- diff --git a/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake b/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake index 665668b..fb51a9d 100644 --- a/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake +++ b/kernel/cmake/BBTKConfigurePackage_doc_bbdoc.cmake @@ -1,10 +1,11 @@ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/header.html.in - ${CMAKE_CURRENT_BINARY_DIR}/header.html + ${BBTK_BBDOC_BUILD_PATH}/${BBTK_PACKAGE_NAME}/header.html + @ONLY IMMEDIATE ) INSTALL( - FILES ${CMAKE_CURRENT_BINARY_DIR}/header.html - DESTINATION ${BBTK_BBDOC_INSTALL_PATH}/${PACKAGE_NAME} + FILES ${BBTK_BBDOC_BUILD_PATH}/${BBTK_PACKAGE_NAME}/header.html + DESTINATION ${BBTK_BBDOC_INSTALL_PATH}/${BBTK_PACKAGE_NAME} ) diff --git a/packages/std/src/bbstdConfiguration.cxx b/packages/std/src/bbstdConfiguration.cxx index ec4fcc9..e5d8844 100644 --- a/packages/std/src/bbstdConfiguration.cxx +++ b/packages/std/src/bbstdConfiguration.cxx @@ -15,6 +15,7 @@ namespace bbstd void Configuration::DoProcess() { bbSetOutputDataPath( bbtk::ConfigurationFile::GetInstance().Get_data_path() ); + bbSetOutputDocPath( bbtk::ConfigurationFile::GetInstance().Get_doc_path() ); bbSetOutputFileSeparator( bbtk::ConfigurationFile::GetInstance().Get_file_separator() ); #if defined(__GNUC__) diff --git a/packages/std/src/bbstdConfiguration.h b/packages/std/src/bbstdConfiguration.h index 241b370..71408b6 100644 --- a/packages/std/src/bbstdConfiguration.h +++ b/packages/std/src/bbstdConfiguration.h @@ -11,6 +11,7 @@ namespace bbstd { BBTK_USER_BLACK_BOX_INTERFACE(Configuration,bbtk::AtomicBlackBox); BBTK_DECLARE_OUTPUT(DataPath,std::string); + BBTK_DECLARE_OUTPUT(DocPath,std::string); BBTK_DECLARE_OUTPUT(FileSeparator,std::string); BBTK_DECLARE_OUTPUT(SystemType,int); BBTK_PROCESS(DoProcess); @@ -26,7 +27,8 @@ namespace bbstd BBTK_AUTHOR("jpr@creatis.insa-lyon.fr"); BBTK_CATEGORY("misc"); BBTK_DESCRIPTION("Gets configuration informations"); - BBTK_OUTPUT(Configuration,DataPath,"Sample Data Path",std::string); + BBTK_OUTPUT(Configuration,DataPath,"Data Path",std::string); + BBTK_OUTPUT(Configuration,DocPath,"Documentation Path",std::string); BBTK_OUTPUT(Configuration,FileSeparator,"/ or \\",std::string); BBTK_OUTPUT(Configuration,SystemType,"0=Linux 1=Windows",int); BBTK_END_DESCRIBE_BLACK_BOX(Configuration); diff --git a/packages/std/src/bbstdRelay.cxx b/packages/std/src/bbstdRelay.cxx new file mode 100644 index 0000000..5708563 --- /dev/null +++ b/packages/std/src/bbstdRelay.cxx @@ -0,0 +1,21 @@ + +#include "bbstdRelay.h" +#include "bbstdPackage.h" +//#include "bbtkSystem.h" +//#include + +namespace bbstd +{ + + //==================================================================== + BBTK_USER_BLACK_BOX_TEMPLATE_IMPLEMENTATION(Relay, + bbtk::AtomicBlackBox); + //==================================================================== + + //==================================================================== + // Standard relays + using namespace std; + BBTK_ADD_TEMPLATE_BLACK_BOX_TO_PACKAGE(std,Relay,string); + //==================================================================== +} +// namespace bbstd