use scp command send some file to another linux board

to generate makefile this function:make upload
scp filename orangepi@

how should I code my cmakefile?
set(output “filename”)
set(destination orangepi@
DEPENDS “${target}”
OUTPUT “${output}”
COMMAND scp “$<TARGET_FILE:${target}>” “${destination}”
COMMAND “${CMAKE_COMMAND}” -E touch “${output}”)
add_custom_target(“upload” DEPENDS “${output}”)

please correct my code,thanks!

This looks fine to me. What behavior are you seeing that this is not working?

thanks,this question already solved;