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/

Attachment: pgpwRh9xqPmSh.pgp
Description: PGP signature

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to