[CMake] Support for multiple components in cpack (reloaded)

Rolf Eike Beer eike at sf-mail.de
Sun Aug 22 01:42:05 EDT 2010


Am Saturday 21 August 2010 schrieb Eric Noulard:

> They change the number and the contents of the generated packages:
>     3.a) CPACK_COMPONENTS_ALL_GROUPS_IN_ONE_PACKAGE=1
>           means you want to get a single package whose content
>           is the merge of all components GROUPS
> 
>     3.b) CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE=1
>            means you want to get a single package whose content
>            is the merge of all COMPONENTS
> 
>      3.c) CPACK_COMPONENTS_IGNORE_GROUPS
>            means you want to get 1 package per COMPONENT
>            (the default is 1 package per GROUP)

AFAICS those are exlusive, so why don't you use a single variable with 3 
different values that prints a big fat warning if it is set to anything else to 
make error detection easier?

Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100822/af401763/attachment.pgp>


More information about the CMake mailing list