[CMake] More than one package source for a project.
Doug
douglas.linder at gmail.com
Thu Jun 14 21:05:26 EDT 2012
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.
~
Doug.
On Fri, Jun 15, 2012 at 2:57 AM, Darryl L. Pierce <dpierce at redhat.com>wrote:
> Our project has several subprojects to it. What I would like to do is
> have some of those subprojects to package up their sources, which
> includes a generated file, as a separate source tarball from the overall
> one that's created with make package_source.
>
> Can someone point me to an example of doing such a thing?
>
> --
> 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/
>
>
> --
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120615/a3c770d9/attachment.htm>
More information about the CMake
mailing list