Re: [CMake] automatable way to specify parallel --builds

2012-06-21 Thread Yuri Timenkov
I was thinking of same problem also and it would be good to have common switch in CMake which translates into generator-specific parameter (actually CMAKE_BUILD_TOOL's one, btw you can get it with from CMakeCache.txt). Our builds broke couple of times when CMake jumped between devenv and msbuild fo

Re: [CMake] automatable way to specify parallel --builds

2012-05-05 Thread Dave Abrahams
on Sat May 05 2012, Michael Wild wrote: > On 05/05/2012 08:25 AM, Dave Abrahams wrote: >> >> I am driving invocations of cmake with another tool, and I would like to >> pass the equivalent of -jN for the "cmake --build" step, but I don't >> seem to be about to find out what generator will be u

Re: [CMake] automatable way to specify parallel --builds

2012-05-05 Thread Michael Wild
On 05/05/2012 08:25 AM, Dave Abrahams wrote: > > I am driving invocations of cmake with another tool, and I would like to > pass the equivalent of -jN for the "cmake --build" step, but I don't > seem to be about to find out what generator will be used, which makes it > hard to even write code to g

[CMake] automatable way to specify parallel --builds

2012-05-04 Thread Dave Abrahams
I am driving invocations of cmake with another tool, and I would like to pass the equivalent of -jN for the "cmake --build" step, but I don't seem to be about to find out what generator will be used, which makes it hard to even write code to generate the right command line options. Can anyone hel