[CMake] Delivery target

Nizar Khalifa Sallem nksallem at laas.fr
Wed Jan 5 06:27:28 EST 2011


At Wed, 5 Jan 2011 11:44:59 +0100,
Reinhard Thies wrote:
> 
> Hi,
> 
> i like to create a custom target "delivery" which depends on package and 
> simply copies the package file using scp to our server.
> 
> Any ideas are apreciated.
> 
> Thx,
> Reinhard
> _______________________________________________
> Powered by www.kitware.com
> 
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
> 
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
Hi,
You can use custom_command macro and choose scp as a command to
execute but it wouldn't be portable and you of course, need to check
that scp program exist on the target machine.

Cheers,
--
Nizar


More information about the CMake mailing list