[CMake] CPack Optional Component

Vincent LEFORT vincent.lefort at gmail.com
Fri Jul 23 03:44:39 EDT 2010


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/20100723/c87ee251/attachment-0001.htm>


More information about the CMake mailing list