${BBTK_DATA_BUILD_PATH}/${bbc_DATA_REL_PATH_FROM_DATA}/CMakeLists.txt.in
COPYONLY
)
+IF(UNIX)
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbc.sh.in
+ ${BBTK_BINARY_DIR}/bin/bbc
+ @ONLY IMMEDIATE
+ )
+ INSTALL(
+ PROGRAMS ${BBTK_BINARY_DIR}/bin/bbc
+ DESTINATION bin
+ )
+ELSE(UNIX)
+ CONFIGURE_FILE(
+ ${CMAKE_CURRENT_SOURCE_DIR}/bbc.bat.in
+ ${CMAKE_CURRENT_BINARY_DIR}/bbc.bat
+ @ONLY IMMEDIATE
+ )
+ INSTALL(
+ PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/bbc.bat
+ DESTINATION bin
+ )
+ENDIF(UNIX)
+
+
+
# Install tree
SET(bbc_CMAKE_OPTION_FOR_BUILD_TREE "")
# data path
DATADIR=${BINPATH}/@bbc_DATA_REL_PATH_FROM_BIN@
+#echo ****** BBC : ${BINPATH}
+
# extract bbs file name
IN=$1
TMP="${IN##*/}"
cd ${WORKDIR}
${BINPATH}/bbs2cpp ${IN} > log.txt
cmake . @bbc_CMAKE_OPTION_FOR_BUILD_TREE@ > log.txt
+#-DFIND_PACKAGE_VERBOSE=1
+#
make > log.txt
mv ${OUTPUT} ${CUR}/
cd ${CUR}
if (quiet) bbtk::MessageManager::SetMessageLevel("max",0);
if (debug) bbtk::MessageManager::SetMessageLevel("all",9);
-
- bbtk::Wx::CreateInvisibleTopWindow();
+
+ // Creates the parent window of all bbtk windows
+ bbtk::Wx::CreateTopWindow();
try {
mExecuter = bbtk::Executer::New();
GET_FILENAME_COMPONENT(name "${bbs}" NAME_WE)
SET(OUTPUT bb${name})
ADD_CUSTOM_COMMAND(
- OUTPUT ${BBTK_BIN_PATH}xxx/${OUTPUT}
+ OUTPUT ${BBTK_BIN_PATH}/${OUTPUT}
COMMAND
cd ${BBTK_BIN_PATH} && ${BBTK_BBC} ${BBTK_PACKAGE_NAME}/appli/${name}
DEPENDS ${bbs}
SET(${LIBRARY_NAME}_INSTALL_FOLDER bbtk)
SET(${LIBRARY_NAME}_LIBRARIES bbtk)
SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS kernel/src kernel/src/ThirdParty)
+IF(BBTK_USE_SHIPPED_BOOST)
+ SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS
+ ${${LIBRARY_NAME}_BUILD_TREE_RELATIVE_INCLUDE_PATHS}
+ kernel/src/ThirdParty/${BBTK_SHIPPED_BOOST}
+ )
+ENDIF(BBTK_USE_SHIPPED_BOOST)
IF(UNIX)
SET(${LIBRARY_NAME}_BUILD_TREE_RELATIVE_LIBRARY_PATHS
${EXECUTABLE_OUTPUT_REL_PATH})
(typeid(AtomicBlackBoxDescriptor),
"BoxExecute",
"Any signal received by this input executes the box",
- "",
+ "signal",
new bbtk::AtomicBlackBoxTGetFunctor<BlackBox,Void,Void>(&BlackBox::bbGetInputBoxExecute),
new bbtk::AtomicBlackBoxTSetFunctor<BlackBox,Void,Void>(&BlackBox::bbSetInputBoxExecute) ) );
// Creates the output 'BoxChange'
bbtk::AtomicBlackBoxOutputDescriptor
(typeid(AtomicBlackBoxDescriptor),
"BoxChange",
- "Signal modifications of the box",
- "",
+ "Signals modifications of the box",
+ "signal",
new bbtk::AtomicBlackBoxTGetFunctor<BlackBox,Void,Void>(&BlackBox::bbGetOutputBoxChange),
new bbtk::AtomicBlackBoxTSetFunctor<BlackBox,Void,Void>(&BlackBox::bbSetOutputBoxChange) ) );
//