[CMake] More than one package source for a project.

Darryl L. Pierce dpierce at redhat.com
Fri Jun 15 13:33:00 EDT 2012


On Fri, Jun 15, 2012 at 03:30:02PM +0200, Eric Noulard wrote:
> > Specifically what I want to do is put the subset of sources into a separate
> > gzipped tarball rather than it create an RPM (we have an official workflow
> > for RPM creation on the distro side of things).
> 
> You should be able to do that using custom made
> CPack config files and appropriate value for
> CPACK_INSTALLED_DIRECTORIES.
> 
> then invoke cpack -G TGZ --config <YourConfigFile>
> 
> 
> you may invoke cpack from a custom command.

I took a look at the default file created for our project. Which lines
can I prune from the file? And can I pass in the
CPACK_INSTALLED_DIRECTORIES value in the command line?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120615/5b097153/attachment.pgp>


More information about the CMake mailing list