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 <[email protected]>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 >
-- 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
