]> Creatis software - bbtk.git/commitdiff
2042 Feature In Progress bbpConfigurator
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 28 Jun 2013 13:05:18 +0000 (15:05 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Fri, 28 Jun 2013 13:05:18 +0000 (15:05 +0200)
kernel/cmake/BBTKCreatePackageIncludeScript.cmake
kernel/src/bbtkBBPInterpreter.h

index fd1ec5c15d57af673b37fc627bc25e99b13c2e15..0eb2d321edd863f671b81849b9fe3ba32d50b840 100644 (file)
@@ -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)
 
 
index 3e98a9683de28b31c537b7e58c495a4c5b13edf4..5fa1c63ecdb3ea88d8c9c84dfaf215f4f556a227 100644 (file)
@@ -48,7 +48,7 @@ Version:   $Revision$
 
 namespace bbtk
 {
-  class BBPInterpreter : public InterpreterVirtual
+  class BBTK_EXPORT BBPInterpreter : public InterpreterVirtual
   {
   public:
     static Pointer New();