From: Eduardo DAVILA Date: Fri, 28 Jun 2013 13:05:18 +0000 (+0200) Subject: 2042 Feature In Progress bbpConfigurator X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=93f212348fb806a5a012a0081e412dd062d0b797;p=bbtk.git 2042 Feature In Progress bbpConfigurator --- diff --git a/kernel/cmake/BBTKCreatePackageIncludeScript.cmake b/kernel/cmake/BBTKCreatePackageIncludeScript.cmake index fd1ec5c..0eb2d32 100644 --- a/kernel/cmake/BBTKCreatePackageIncludeScript.cmake +++ b/kernel/cmake/BBTKCreatePackageIncludeScript.cmake @@ -94,13 +94,14 @@ MACRO(BBTK_CREATE_PACKAGE_INCLUDE_SCRIPT BBTK_PACKAGE_NAME BBTK_PACKAGE_BB # STRING(REPLACE "__RR__" "\;" SETPATH ${command00} ) # SET(SETPATH set ${command0} &&) - - ADD_CUSTOM_TARGET( bb${BBTK_PACKAGE_NAME}.bbp ALL -## COMMAND "set Path=${DLL_PATH} && ${BBTK_BBPCONFIGURATOR} ${CMAKE_CURRENT_SOURCE_DIR}\boxes\ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/" - COMMAND ${BBTK_BBPCONFIGURATOR} ${CMAKE_CURRENT_SOURCE_DIR}/boxes/ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/ - ) - - +## ADD_CUSTOM_TARGET( bb${BBTK_PACKAGE_NAME}.bbp ALL +## COMMAND set "Path=${crea_DIR}/bin/\;"${DLL_PATH} && $(OutDir)/../../Release/bbpConfigurator.exe ${CMAKE_CURRENT_SOURCE_DIR}/boxes/ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/ +## ) + + ADD_CUSTOM_COMMAND( TARGET bb${BBTK_PACKAGE_NAME} + COMMAND set "Path=${crea_DIR}/bin/\;"${DLL_PATH} && $(OutDir)/../../Release/bbpConfigurator.exe ${CMAKE_CURRENT_SOURCE_DIR}/boxes/ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/ + ) + ELSE(WIN32) SET(LD_LIBRARY_PATH "$ENV{LD_LIBRARY_PATH}:${LIBRARY_OUTPUT_PATH}") ADD_CUSTOM_TARGET( bb${BBTK_PACKAGE_NAME}.bbp ALL @@ -109,19 +110,6 @@ MACRO(BBTK_CREATE_PACKAGE_INCLUDE_SCRIPT BBTK_PACKAGE_NAME BBTK_PACKAGE_BB ) - - - - ADD_CUSTOM_COMMAND( - OUTPUT ${BBTK_BBS_BUILD_PATH}/${BBTK_PACKAGE_NAME}.bbp -## COMMAND export LD_LIBRARY_PATH=${LD_LIBRARY_PATH} && ${BBTK_BBFY} ${xmlfile} ${BBTK_PACKAGE_NAME} ${CMAKE_CURRENT_BINARY_DIR}/ -q - COMMAND ls -# COMMAND ${BBTK_BBPCONFIGURATOR} ${CMAKE_CURRENT_SOURCE_DIR}/boxes/ ${BBTK_PACKAGE_NAME} ${BBTK_BBS_BUILD_PATH}/ -## DEPENDS -## ${xmlfile} -## ${BBTK_BBPCREATOR_DEPENDENCY} - ) - ENDIF(WIN32) diff --git a/kernel/src/bbtkBBPInterpreter.h b/kernel/src/bbtkBBPInterpreter.h index 3e98a96..5fa1c63 100644 --- a/kernel/src/bbtkBBPInterpreter.h +++ b/kernel/src/bbtkBBPInterpreter.h @@ -48,7 +48,7 @@ Version: $Revision$ namespace bbtk { - class BBPInterpreter : public InterpreterVirtual + class BBTK_EXPORT BBPInterpreter : public InterpreterVirtual { public: static Pointer New();