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}
)
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__)
{
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);
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);
--- /dev/null
+
+#include "bbstdRelay.h"
+#include "bbstdPackage.h"
+//#include "bbtkSystem.h"
+//#include <string>
+
+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