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

Darryl L. Pierce dpierce at redhat.com
Fri Jun 15 09:18:47 EDT 2012


On Fri, Jun 15, 2012 at 09:05:26AM +0800, Doug wrote:
> Oddly, I was just doing that last night. Here's an example:
> https://github.com/shadowmint/cmake-multi-install
> 
> If you run:
> mkdir build
> cd build
> cmake ..
> cmake -G DEB
> 
> It'll build two debian packages.
> If you want RPMs I suspect you'll have to add:
> 
>  set(CPACK_RPM_COMPONENT_INSTALL ON)
> 
> ...but you get the idea.
> No idea why this isn't in the wiki. It keeps turning up as a question...
> 
> Also, it doesn't work on all the pack builders.

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).

-- 
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/a34ba35f/attachment.pgp>


More information about the CMake mailing list