#----------------------------------------------------------------------------
IF(BUILD_bbtk_DOC_DOXYGEN)
SET(BBTK_PACKAGE_DOXYGEN_DOC_INSTALL_PATH
- packages/${BBTK_PACKAGE_NAME}/doxygen
+ packages/doxygen/${BBTK_PACKAGE_NAME}
)
SUBDIRS(doxygen)
ENDIF(BUILD_bbtk_DOC_DOXYGEN)
MACRO(BBTK_CREATE_PACKAGE_BBDOC PACKAGE_NAME)
+ FILE(MAKE_DIRECTORY ${PROJECT_BINARY_DIR}/${BBTK_DOC_INSTALL_PATH}/packages/bbdoc/${PACKAGE_NAME})
+
# Create file make_doc_${PACKAGE_NAME}.bbs
SET(OUTPUT_PATH ${BBTK_BBS_INSTALL_PATH})
SET(OUTPUT_FILE ${PROJECT_BINARY_DIR}/${OUTPUT_PATH}/make_doc_${PACKAGE_NAME}.bbs)
- SET(DOC_OUTPUT ${BBTK_DOC_INSTALL_PATH}/packages/bbdoc/${PACKAGE_NAME}/index.html)
+ SET(DOC_OUTPUT ${PROJECT_BINARY_DIR}/${BBTK_DOC_INSTALL_PATH}/packages/bbdoc/${PACKAGE_NAME}/index.html)
FILE(WRITE
"${OUTPUT_FILE}"
"#-----------------------------------------\n"
"include ${PACKAGE_NAME}\n"
"include ${PACKAGE_NAME}-appli\n"
"#-----------------------------------------\n"
- "graph workspace 0 0 ${DOC_OUTPUT} ${BBTK_DOCUMENT_SCRIPTS_OUTPUT_PATH}/header.html \"Package ${PACKAGE_NAME} documentation\"\n"
+ "graph workspace 0 0 ${DOC_OUTPUT} \"none\" \"Package ${PACKAGE_NAME} documentation\"\n"
+#${BBTK_DOCUMENT_SCRIPTS_OUTPUT_PATH}/header.html
)
ADD_CUSTOM_COMMAND(
OUTPUT ${DOC_OUTPUT}
COMMAND
# tth
- ${BBTK_BBI} ${OUTPUT_FILE}
+ cd ${BBTK_BIN_PATH} && ${BBTK_BBI} ${OUTPUT_FILE}
# ARGS
# ${OUTPUT_FILE}
# DEPENDS ${PACKAGE_NAME}
- <font size="2"><a href="../packages/vtk/doxygen/index.html"
target="information">doxygen</a></font><br>
<small><b> wx : </b></small><font size="2"><a
- href="../packages/wx/bbdoc/index.html" target="information">bbdoc</a></font>
-- <font size="2"><a href="../packages/wx/doxygen/html/index.html"
+ href="../packages/bbdoc/wx/index.html" target="information">bbdoc</a></font>
+- <font size="2"><a href="../packages/doxygen/wx/html/index.html"
target="information">doxygen</a></font><br>
<small><b> wxvtk : </b></small><font size="2"><a
href="../packages/wxvtk/bbdoc/index.html" target="information">bbdoc</a></font>
Program: bbtk
Module: $RCSfile: bbtkInterpreter.cxx,v $ $
Language: C++
- Date: $Date: 2008/01/28 15:08:53 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2008/01/28 15:28:15 $
+ Version: $Revision: 1.7 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
std::string libname; // full path library name
std::string pkgname; // e.g. <scriptname>.bbs
+ // Add the void path to handle absolute paths
+ script_paths.push_back("");
+ // Add the "." path to handle paths relative to current directory
+ script_paths.push_back(".");
+
pkgname = Utilities::ExtractScriptName(name);
if (use_configuration_file)
{
if (verbose)
std::cout << "look for : [" << name << "] (use_configuration_file == TRUE)" << std::endl;
- script_paths = ConfigurationFile::GetInstance().Get_bbs_paths();
+ std::vector<std::string> paths =
+ ConfigurationFile::GetInstance().Get_bbs_paths();
+ std::vector<std::string>::iterator i;
+ for (i=paths.begin();i!=paths.end();++i)
+ {
+ script_paths.push_back(*i);
+ }
+
}
bool fullnameGiven = false;
description "Simple test of wx::Slider widget"
author "laurent.guigues@creatis.insa-lyon.fr"
-category "test"
+#category "test"
load wx
new Slider slider