]> Creatis software - bbtk.git/commitdiff
2042 Feature bbpConfigurator
authorEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 15 Jul 2013 09:21:57 +0000 (11:21 +0200)
committerEduardo DAVILA <eduardo.davila@creatis.insa-lyon.fr>
Mon, 15 Jul 2013 09:21:57 +0000 (11:21 +0200)
kernel/cmake/BBTKConfigurePackage_src.cmake

index aea7925dcc308cd2b3a04b36ed9790cd1bfe554d..c8739df07b93c8ba0d8f394714ec48ad030d3143 100644 (file)
@@ -321,10 +321,10 @@ ENDIF(CHCON_LIBRARIES)
  #   SET(SETPATH set ${command0} &&)
 
   ADD_CUSTOM_COMMAND( 
-        TARGET  bb${BBTK_PACKAGE_NAME} PRE_BUILD
-       COMMAND  set "Path=${crea_DIR}/bin/\;"${DLL_PATH} && $(OutDir)/bbpConfigurator.exe ${CMAKE_CURRENT_SOURCE_DIR}/boxes/  ${BBTK_PACKAGE_NAME}  ${BBTK_BBS_BUILD_PATH}/
+        TARGET  bb${BBTK_PACKAGE_NAME} POST_BUILD
+#       COMMAND  set "Path=${crea_DIR}/bin/\;"${DLL_PATH} && $(OutDir)/bbpConfigurator.exe ${CMAKE_CURRENT_SOURCE_DIR}/boxes/  ${BBTK_PACKAGE_NAME}  ${BBTK_BBS_BUILD_PATH}/
+       COMMAND  set "Path=${crea_DIR}/bin/\;"${DLL_PATH} && ${BBTK_BBPCONFIGURATOR} ${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