[CMake] Global build target for global post-build stage ?

David Cole david.cole at kitware.com
Wed Dec 6 10:20:38 EST 2006


You could add a custom target that depends on all the other targets in your
project.

On 12/6/06, Eric BOIX <eboix at ens-lyon.fr> wrote:
>
>         Dear cmake users,
>
> I would like to launch a command after ALL the targets are build (think
> of e.g. displaying a small message). I could achieve this with an
> ad-hoc ADD_CUSTOM_COMMAND( TARGET target POST_BUILD COMMAND ...)
> at the condition of knowing the name of cmake's internal global build
> target. Does such a target exist and is it documented somewhere ?
> Is there another way of achieving this ?
>
>         Yours,
>         Eric Boix.
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20061206/97886588/attachment.htm


More information about the CMake mailing list