]> Creatis software - bbtk.git/commitdiff
2042 Feature Normal bbpConfigurator
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 4 Jul 2013 15:44:18 +0000 (17:44 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Thu, 4 Jul 2013 15:44:18 +0000 (17:44 +0200)
kernel/cmake/BBTKCreatePackageIncludeScript.cmake

index 7dcb5721f8ac85e6fbb300bcb7aaa6e3aa844835..91d4eaeb4cdb8315807de00dfb5ad6d164993053 100644 (file)
@@ -80,41 +80,7 @@ MACRO(BBTK_CREATE_PACKAGE_INCLUDE_SCRIPT    BBTK_PACKAGE_NAME    BBTK_PACKAGE_BB
 
 
   ##  --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