[CMake] Using CPack to create multiple packages
Eric Noulard
eric.noulard at gmail.com
Thu Jan 17 02:35:46 EST 2008
2008/1/16, Filipe Sousa <natros at gmail.com>:
> Ted Berg wrote:
> > Filipe Sousa wrote:
> >
> > I aplogize, my initial post wasn't terribly clear. I'm currently
> > generating, for example, the following packages:
> >
> > foo-sdk-1.0.0.zip
> > foo-qa-tools-1.0.0.zip
> > foo-killer-app-1.0.0.zip
> >
> > These packages have different content and are targeted at different
> > users. I initially thought I could duplicate this behavior using
> > COMPONENTs in CMake's install command, but it's not behaving how I would
> > like and I'm pretty sure that what I want is abusing the feature (at best).
I am really interested in how you did emulate the feature using
INSTALL / COMPONENT.
Do you have any CMakeLists.txt and/or CMake macro scripts examples?
Could you tell us how with those do you invoke cpack or make
in order to build you packages?
> Ah! I know what you mean but I don't think there is an easy way of doing
> that. But it's very useful split a package into small packages (debian
> way -- libfoo.tar.gz, foo.tar.gz, libfoo-dev, foo-docs).
I think it's useful too, but is it specific generator task or is
it CPack task to do this? (this is an open question).
--
Erk
More information about the CMake
mailing list