## --Configure and installing bbs boxes--
- # --Creates the file ${BBTK_PACKAGE_NAME}.bbp--
-## bbpConfigurator create de PACKAGE.bbp file
-## bbConfigurator <path_to_bbs> <package_name> <output_path>
-
-
- SET(OUTPUT_FILE ${BBTK_BBS_BUILD_PATH}/${BBTK_PACKAGE_NAME}.bbp)
-
- IF (WIN32)
- MAKE_DLL_PATH()
- # SET(command00 Path=c:/creatis/dlls__RR__%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__%PATH%)
- # STRING(REPLACE "__RR__" "\;" SETPATH ${command00} )
- # SET(SETPATH set ${command0} &&)
-
-## SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR})
-## 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(
-## OUTPUT a
-## TARGET bb${BBTK_PACKAGE_NAME} PRE_BUILD
-## COMMAND dir
-## 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
-## COMMAND export LD_LIBRARY_PATH=${LD_LIBRARY_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}/
- )
-
- ENDIF(WIN32)
-
##EED 24/06/2013