INCLUDE(${BBTK_CMAKE_DIR}/BBTKMacros.cmake)
INCLUDE(${BBTK_CMAKE_DIR}/BBTKAddDefinitions.cmake)
-INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackagePaths.cmake)
+
# If bbtk was compiled with WxWidget then have to use it
IF(BBTK_BUILT_WITH_WX)
# If not a core package must include necessary cmake scripts
IF(NOT BBTK_CORE_PACKAGE)
#
+ INCLUDE(${BBTK_CMAKE_DIR}/BBTKConfigurePackagePaths.cmake)
INCLUDE(${BBTK_CMAKE_DIR}/BBTKBuildAllOption.cmake)
- INCLUDE(${BBTK_CMAKE_DIR}/BBTKMacros.cmake)
+# INCLUDE(${BBTK_CMAKE_DIR}/BBTKMacros.cmake)
INCLUDE(${BBTK_CMAKE_DIR}/BBTKFindLibraries.cmake)
#-------------------------------------------------------------------------
# Configure bbtk_config_build.xml.in for bbi to find the bbs
set(command00 Path=%WXWIN%/lib/vc_dll/__RR__%VTK_DIR%__RR__%ITK_DIR%/../../bin/__RR__${DOT_DIR}__RR__%PATH% )
STRING(REPLACE "__RR__" "\;" command0 ${command00} )
- FILE(TO_NATIVE_PATH ${BBTK_BIN_PATH}/bb${BBTK_PACKAGE_NAME}.dll pathCommand2 )
- set(command1 cd "${BBTK_BIN_PATH}/../bbs/")
+ FILE(TO_NATIVE_PATH ${EXECUTABLE_OUTPUT_PATH}/bb${BBTK_PACKAGE_NAME}.dll pathCommand2 )
+ set(command1 cd "${EXECUTABLE_OUTPUT_PATH}/../bbs/")
set(command2 copy ${pathCommand2} . )
set(command3 ${BBTK_BBI} -N -q ${OUTPUT_FILE})
set(command4 del bb${BBTK_PACKAGE_NAME}.dll)
ADD_CUSTOM_COMMAND(
OUTPUT ${DOC_OUTPUT}
COMMAND
- cd ${BBTK_BIN_PATH} && ${BBTK_BBI} -N -q ${OUTPUT_FILE} ${BBTK_MAKE_INDEX}
+ cd ${EXECUTABLE_OUTPUT_PATH} && ${BBTK_BBI} -N -q ${OUTPUT_FILE} ${BBTK_MAKE_INDEX}
DEPENDS bb${PACKAGE_NAME}
)
ENDIF(WIN32)
<url> </url>
#@BBTK_DOC_BUILD_PATH@
- <bbs_path> </bbs_path>
-#@BBTK_BBS_BUILD_PATH@
+ <bbs_path> @BBTK_BBS_BUILD_PATH@ </bbs_path>
<package_path> @EXECUTABLE_OUTPUT_PATH@ </package_path>
# For windows
<package_path> @EXECUTABLE_OUTPUT_PATH@\Debug </package_path>
connect authorStr.Out concatStr.In7
connect descriptionStr.Out concatStr.In8
+/*
+LG : bug on linux
new ConcatStrings concatStr2
connect ascii.Out concatStr2.In1
connect concatStr.Out concatStr2.In2
connect ascii.Out concatStr2.In3
+*/
new ExecSystemCommand command
- connect concatStr2.Out command.In
+// connect concatStr2.Out command.In
+ connect concatStr.Out command.In
exec dir
exec main