[CMake] CPack Optional Component

Vincent LEFORT vincent.lefort at gmail.com
Tue Aug 10 02:48:37 EDT 2010


Hi,

I come back to know if anyone have an idea of howto do this tricks ?

Thanks.

Vincent

On Fri, Jul 23, 2010 at 09:44, Vincent LEFORT <vincent.lefort at gmail.com>wrote:

> Hello, i use CPack to pack my project.
>
> I use components (cpack_add_component) in it, and i do some links in start
> menu using "set(CPACK_NSIS_MENU_LINKS ...)".
>
> But, i want to make the link for example "Documentation" only if the
> component "Documentation" is checked.
>
> How i can do this trick ?
>
> Regards.
>
> Vincent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100810/85a2fb4d/attachment.htm>


More information about the CMake mailing list