[CMake] Install selected|group of targets

Joakim Hove joakim.hove at gmail.com
Thu Feb 2 02:44:26 EST 2012


First you should use the COMPONENT parameter of the INSTALL command.
> See:
> cmake --help-command install
> and
> http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack
>
> then you may install all the target/files/... belonging to a
> particular component by doing:
>
> cd buildir
> cmake -DCOMPONENT="componentname" -P cmake_install.cmake
>
>  <http://www.april.org>


OK;

thank you. That was maybe slightly more involved than I had thougth - but
certainly doable.

Joakim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120202/15ae6a14/attachment.htm>


More information about the CMake mailing list