]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Tue, 1 Jul 2008 11:31:23 +0000 (11:31 +0000)
committerguigues <guigues>
Tue, 1 Jul 2008 11:31:23 +0000 (11:31 +0000)
kernel/cmake/AdditionalUseBBTK.cmake.in
kernel/cmake/BBTKConfigurePackage.cmake
kernel/cmake/BBTKCreatePackageBBdoc.cmake
kernel/cmake/bbtk_config_build.xml.in
packages/toolsbbtk/bbs/appli/GUICreateBlackBox.bbs

index 0aaee2c26159aeee35449286bb14d1b1db141867..b1ba9fc0607309f03b5b828e290e9197463ba511 100644 (file)
@@ -1,7 +1,7 @@
 
 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)
index 406b17f70870cc80d349e2e06ad52400fa2b9aa2..e2e6fdbaa47c8d2e4cef53557c23c8dcd9e3fd00 100644 (file)
@@ -3,8 +3,9 @@
 # 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
index be932d30fa02d5bdc030286043c1d926df56a743..ebcee6803f48b0c810c89b43a3439d72b69fc46d 100644 (file)
@@ -36,8 +36,8 @@ MACRO(BBTK_CREATE_PACKAGE_BBDOC PACKAGE_NAME)
     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)
@@ -53,7 +53,7 @@ MACRO(BBTK_CREATE_PACKAGE_BBDOC PACKAGE_NAME)
     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)
index 4efe399418ae65e71b87465593beb93285f84411..33d23ed32ed3a2f6f69470615b2b5807f61aaf65 100644 (file)
@@ -5,8 +5,7 @@
   <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> 
index 0b090ee47855ec147a28aa97f3c339812ae2e5a3..43ac0e4f6081aa94025cd6ca589073ae15c0629d 100644 (file)
@@ -155,13 +155,17 @@ new ConcatStrings concatStr
     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