[CMake] [cmake-developers] Support for multiple components in cpack

David Cole david.cole at kitware.com
Tue Aug 3 07:51:49 EDT 2010


On Mon, Aug 2, 2010 at 6:57 PM, Eric Noulard <eric.noulard at gmail.com> wrote:

> 2010/8/2 Clinton Stimpson <clinton at elemtech.com>:
> >>
> >> Waiting for feedback before going on
> >
> > So I wondered if we were basically getting 3 modes out of this:
> >
> > 1. put multiple components in one components aware package (nsis,
> packagemaker,...).
> > 2. put multiple components in one non-component aware package (tar.gz,
> .zip...).
> > 3. put multiple components in multiple packages (all cpack generators).
> >
> > And how does one choose the behavior they want?
>
> 1. or 3. depends on the package capability.
> Typically NSIS and PackageMaker may prefer 1. but you cannot do 1. with
> DEB or RPM so you have to go with 3.
>
> 2. may always be an option because it was the behavior we had before the
> component support and ALL CPack generator may handle an all-in-one package.
> We could add an OPTION like CPACK_COMPONENT_ALL_IN_ONE which
> would basically tell CPack to ignore the component aspect.
>

FYI: there already is an option that's similar to this, I think:
CPACK_MONOLITHIC_INSTALL
Does that have the effect you're talking about or are you thinking something
different?



>
> 3. is an option for any current packages including tar.gz, zip etc...
>    (and probably even NSIS and PackageMaker).
>
> So I would say that depending on the generator "intrinsic" capabilities
> it should (in that order)
>
> chose 2) if CPACK_COMPONENT_ALL_IN_ONE is True
> chose 1) if possible
> chose 3) if possible
> chose 2) as a failover.
>
>
> --
> Erk
> Membre de l'April - « promouvoir et défendre le logiciel libre » -
> http://www.april.org
> _______________________________________________
> cmake-developers mailing list
> cmake-developers at cmake.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20100803/15f76cd5/attachment.htm>


More information about the CMake mailing list