Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Dave Flogeras
Hey Paul On Sat, Jan 28, 2017 at 10:43 AM, Paul Smith wrote: > My suspicion is that somehow the recursion is invoking an older version > of make. In GNU make 4.2 the jobserver interface was stabilized and > published, so that other build tools could take advantage of it (if > desired); for exam

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Nils Gladitz
On 29.01.2017 13:29, Dave Flogeras wrote: I tried with "make -j5 VERBOSE=1 NightlyBuild" but didn't see anything indicative on the console, or in the cmake output files that shed any light for me. What's weirder (and I forgot to mention) is that if I just build the project normally outside

Re: [CMake] CMake 3.7.2 and parallel builds

2017-01-29 Thread Dan Liew
> What's weirder (and I forgot to mention) is that if I just build the project > normally outside of my regression testing script (ie. "make -j5"), I don't > get the jobserver warning. The reason for this error message from make is given at [1]. I've seen something like this before when my build

Re: [CMake] externalproject_add and generating sources

2017-01-29 Thread David Jobet
Hello, Yes, main reason is I had to hack FindProtobuf.cmake to make our existing project compile. Also since I need to make it "installable", I had to add some stuff to have the binaries and header installed automatically when referenced. The latter reason led me to experiment with ExternalProje

Re: [CMake] externalproject_add and generating sources

2017-01-29 Thread David Jobet
Oh ok, I see how it works, it makes sense, but I'm somehow disappointed : in order to use it, I'm going to have to change my own project while I originally thought it was going to be a kind of FindXXX on steroid... I'll give it a try though, tx for pointing it out. David Le 26 janvier 2017 13:0

Re: [CMake] Forcing linking compatability to old libc / libstdc++ (Linux)

2017-01-29 Thread Alexander Neundorf
On 2017 M01 26, Thu 18:23:05 CET Gonzalo Garramuño wrote: > I currently own an Ubuntu Xenial 14.04.1 LTS box in which I do all my > work.I distribute a binary image viewer. However, recently one of > my users tried to run the viewer on a CentOS 7 distro and found out that > that distro libc a