set(SCRIPT_NAME update_blastdb.pl)

add_custom_command(OUTPUT ${EXECUTABLE_OUTPUT_PATH}/${SCRIPT_NAME}
    COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/${SCRIPT_NAME} ${EXECUTABLE_OUTPUT_PATH}
)

add_custom_target(update_blastdb.pl ALL DEPENDS ${EXECUTABLE_OUTPUT_PATH}/${SCRIPT_NAME})

