You can't depend on "package", but you can do this as your custom
target's command:

  cmake --build . --target package --config Release
  scp ...


HTH,
David


On Wed, Jan 5, 2011 at 5:44 AM, Reinhard Thies <reinhard.th...@web.de> 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
>
_______________________________________________
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

Reply via email to