SET(BBTK_COMPILE_WARNING_MESSAGES @BBTK_COMPILE_WARNING_MESSAGES@)
SET(BBTK_COMPILE_ERROR_MESSAGES @BBTK_COMPILE_ERROR_MESSAGES@)
#-----------------------------------------------------------------------------
+SET(BBTK_BIN_REL_PATH @BBTK_BIN_REL_PATH@)
SET(BBTK_SHARE_REL_PATH @BBTK_SHARE_REL_PATH@)
SET(BBTK_DOC_REL_PATH @BBTK_DOC_REL_PATH@)
SET(BBTK_BBS_REL_PATH @BBTK_BBS_REL_PATH@)
MESSAGE(STATUS "* BBTK_COMPILE_WARNING_MESSAGES = ${BBTK_COMPILE_WARNING_MESSAGES}")
MESSAGE(STATUS "* BBTK_COMPILE_ERROR_MESSAGES = ${BBTK_COMPILE_ERROR_MESSAGES}")
MESSAGE(STATUS "* BBTK_COMPILE_DEBUG_MESSAGES = ${BBTK_COMPILE_DEBUG_MESSAGES}")
+ MESSAGE(STATUS "* BBTK_BIN_REL_PATH = ${BBTK_BIN_REL_PATH}")
MESSAGE(STATUS "* BBTK_SHARE_REL_PATH = ${BBTK_SHARE_REL_PATH}")
MESSAGE(STATUS "* BBTK_DOC_REL_PATH = ${BBTK_DOC_REL_PATH}")
MESSAGE(STATUS "* BBTK_BBS_REL_PATH = ${BBTK_BBS_REL_PATH}")
IF(WIN32)
FILE(TO_NATIVE_PATH ${PROJECT_BINARY_DIR}/$(OutDir) BBTK_BIN_PATH)
+ # TO DO : use computed path for build/install tree
+ SET(BBTK_BBI "${BBTK_DIR}/bin/bbi")
+ SET(BBTK_BBS2CPP "${BBTK_DIR}/bin/bbs2cpp")
+ SET(BBTK_BBC "${BBTK_DIR}/bin/bbc")
+ SET(BBTK_BBFY "${BBTK_DIR}/bin/bbfy")
+ SET(BBTK_BBDOC "${BBTK_DIR}/bin/bbdoc")
+
ELSE(WIN32)
- FILE(TO_NATIVE_PATH ${PROJECT_BINARY_DIR}/bin BBTK_BIN_PATH)
+ FILE(TO_NATIVE_PATH ${EXECUTABLE_OUTPUT_PATH} BBTK_BIN_PATH)
+ # TO DO : use computed path for build/install tree
+ SET(BBTK_BBI "${BBTK_DIR}/../../bin/bbi")
+ SET(BBTK_BBS2CPP "${BBTK_DIR}/../../bin/bbs2cpp")
+ SET(BBTK_BBC "${BBTK_DIR}/../../bin/bbc")
+ SET(BBTK_BBFY "${BBTK_DIR}/../../bin/bbfy")
+ SET(BBTK_BBDOC "${BBTK_DIR}/../../bin/bbdoc")
ENDIF(WIN32)
-# TO DO : use computed path for build/install tree
-SET(BBTK_BBI "${BBTK_DIR}/bin/bbi")
-SET(BBTK_BBS2CPP "${BBTK_DIR}/bin/bbs2cpp")
-SET(BBTK_BBC "${BBTK_DIR}/bin/bbc")
-SET(BBTK_BBFY "${BBTK_DIR}/bin/bbfy")
-SET(BBTK_BBDOC "${BBTK_DIR}/bin/bbdoc")
INCLUDE(${BBTK_CMAKE_DIR}/BBTKSetDeducedPaths.cmake)
DESTINATION ${BBTK_BBS_INSTALL_PATH}/${BBTK_PACKAGE_NAME}/appli
)
+
#
IF(WIN32)
ADD_CUSTOM_COMMAND(
OUTPUT ${DOC_OUTPUT}
COMMAND
- cd ${BBTK_BIN_PATH} && ${BBTK_BBI} -N -q ${OUTPUT_FILE}
+ cd ${BBTK_BIN_PATH} && ${BBTK_BBI} -N -q ${OUTPUT_FILE} ${BBTK_MAKE_INDEX}
DEPENDS bb${PACKAGE_NAME}
)
ENDIF(WIN32)
DESTINATION ${BBTK_BBDOC_INSTALL_PATH}
)
+ # runs bbtk-make-index as a post install step
+ IF(NOT BBTK_CORE_PACKAGE)
+ INSTALL(CODE "EXECUTE_PROCESS(COMMAND bbtk-make-index)")
+ ENDIF(NOT BBTK_CORE_PACKAGE)
+
ENDMACRO(BBTK_CREATE_PACKAGE_BBDOC NAME)
Program: bbtk
Module: $RCSfile: bbtkAtomicBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/04/24 10:11:27 $
- Version: $Revision: 1.6 $
+ Date: $Date: 2008/06/27 08:12:46 $
+ 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
if ( ( bbGetStatus() == MODIFIED ) ||
( bbBoxProcessModeIsAlways() ) )
{
- bool wasExecuting = bbGlobalGetSomeBoxExecuting();
+
+ bbSetStatus(UPDATING);
+
+ bool wasExecuting = bbGlobalGetSomeBoxExecuting();
bbGlobalSetSomeBoxExecuting(true);
// Updates its inputs
// If all inputs are in UPTODATE post-update status
// and mProcessMode is not "Always"
// then the box is now UPTODATE
+ IOStatus new_status;
if ( ( s == UPTODATE ) &&
( ! bbBoxProcessModeIsAlways() ) )
{
- bbSetStatus(UPTODATE);
+ new_status = UPTODATE;
}
else
{
// else it remains MODIFIED
- bbSetStatus(MODIFIED);
+ new_status = MODIFIED;
}
+ bbSetStatus(new_status);
// User process
bbProcess();
Program: bbtk
Module: $RCSfile: bbtkWxBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/06/26 18:45:58 $
- Version: $Revision: 1.22 $
+ Date: $Date: 2008/06/27 08:12:46 $
+ Version: $Revision: 1.23 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
if ((caller==0) ||
((caller!=0) &&
(caller->GetBlackBoxTo() != to))&&
- (!bbGetUpdateTransferedToParent()))
+ (!bbGetUpdateTransferedToParent())&&
+ (to->bbGetStatus()!=UPDATING))
{
bbtkDebugMessage("process",3,
" ... Transfering update order to parent"
Program: bbtk
Module: $RCSfile: bbwxvtkViewer2D.cxx,v $
Language: C++
- Date: $Date: 2008/06/26 18:45:58 $
- Version: $Revision: 1.13 $
+ Date: $Date: 2008/06/27 08:12:46 $
+ Version: $Revision: 1.14 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
((Viewer2DWidget*)bbGetOutputWidget())->Update();
((Viewer2DWidget*)bbGetOutputWidget())->UpdateView();
#endif
+ /*
+ ((Viewer2DWidget*)bbGetOutputWidget())->Update();
+ ((Viewer2DWidget*)bbGetOutputWidget())->UpdateView();
+ */
}