X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fappli%2FbbCreateBlackBox%2FCMakeLists.txt;h=20f488c00b081afc45eb7d8fa4b2ee8273ec0c5c;hb=f20c3308a0d420bbc81089fad47108fa4f25aa17;hp=f18afa0528bf0aeeb5bdcbda48d3a2075e30426c;hpb=2593029cb1c4a272c6502cc9abc82f980d479739;p=bbtk.git diff --git a/kernel/appli/bbCreateBlackBox/CMakeLists.txt b/kernel/appli/bbCreateBlackBox/CMakeLists.txt index f18afa0..20f488c 100644 --- a/kernel/appli/bbCreateBlackBox/CMakeLists.txt +++ b/kernel/appli/bbCreateBlackBox/CMakeLists.txt @@ -29,6 +29,11 @@ SET(bbCreateBlackBox_DATA_REL_PATH_FROM_BIN ../${BBTK_DATA_REL_PATH}/${bbCreateB FILE(TO_NATIVE_PATH ${bbCreateBlackBox_DATA_REL_PATH_FROM_BIN} bbCreateBlackBox_DATA_REL_PATH_FROM_BIN) IF(WIN32) # Build tree + CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/bbCreateBlackBox.bat.in + ${BBTK_BINARY_DIR}/RelWithDebInfo/bbCreateBlackBox.bat + @ONLY IMMEDIATE + ) CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/bbCreateBlackBox.bat.in ${BBTK_BINARY_DIR}/Debug/bbCreateBlackBox.bat @@ -56,8 +61,9 @@ IF(UNIX) ) # Install tree INSTALL( - PROGRAMS ${BBTK_BINARY_DIR}/bin/bbCreateBlackBox + FILES ${BBTK_BINARY_DIR}/bin/bbCreateBlackBox DESTINATION bin + PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE ) ENDIF(UNIX)