Re: [CMake] "Mastering CMake": which cmake version?

2012-06-15 Thread Klaim - Joël Lamotte
Thanks for the info. I just wanted to add that my interest in the book is not to understand the basics of CMake, but to get more info on how to manage big complex projects. I don't know for others but I tend to use CMake only on big projects only. Still I have a hard time sometime understanding ho

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

2012-06-15 Thread Eric Noulard
2012/6/15 Darryl L. Pierce : > 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 t

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

2012-06-15 Thread Darryl L. Pierce
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

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

2012-06-15 Thread Eric Noulard
2012/6/15 Darryl L. Pierce : > 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 deb

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

2012-06-15 Thread Darryl L. Pierce
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 susp

Re: [CMake] "Mastering CMake": which cmake version?

2012-06-15 Thread David Cole
Looks like you're right: the last published edition of the book was based on 2.8.0. The 2.8.0 tag was from mid-November, 2009: http://cmake.org/gitweb?p=cmake.git;a=commit;h=612409e5b01a7e4823bb379ee9e002177793eb75 2.8.1 was in March 2010: http://cmake.org/gitweb?p=cmake.git;a=commit;h=8c89b5e2dc

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

2012-06-15 Thread Eric Noulard
2012/6/14 Darryl L. Pierce : > 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. This ca

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

2012-06-15 Thread Eric Noulard
2012/6/15 Doug : > 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_