Re: [CMake] ExternalProject_Add

2017-01-22 Thread Saad Khattak
That is a good point. I found that a side effect of the superbuild is that my project can be built independently and I can distribute it without the superbuild parent project. Thanks Nicholas! On Sun, Jan 22, 2017 at 10:33 PM Nicholas Braden wrote: > Yes, that is what I do in my superbuilds. Gen

Re: [CMake] ExternalProject_Add

2017-01-22 Thread Nicholas Braden
Yes, that is what I do in my superbuilds. Generally I make is such that my project could be built without the superbuild, and the superbuild is just a convenience. On Sat, Jan 21, 2017 at 12:17 PM, Saad Khattak wrote: > >> One possibility is the often mentioned superbuild > > That is a tempting

Re: [CMake] Interfacing cmake with 3rdparties package manager, and exclude them from ninja clean

2017-01-22 Thread david . jobet
Hello,Tx for the idea !That would work to "boostrap" the build but I'm not very fond of it due to it's "static" nature : it would run only once during the initial cmake run.We extract versionning information from git tags : in our current (slow) build system, a git update can trigger a "rpm" update