[CMake] automatable way to specify parallel --builds

Dave Abrahams dave at boostpro.com
Sat May 5 07:45:21 EDT 2012


on Sat May 05 2012, Michael Wild <themiwi-Re5JQEeQqe8AvxtiuMwx3w-AT-public.gmane.org> 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 used, which makes it
>> hard to even write code to generate the right command line options.  Can
>> anyone help?
>> 
>> Thanks!
>> 
>
> When you run CMake to configure the project, you can select the
> generator with -G. Does that help?

Hmm, for some reason I didn't think of doing that, but I guess it might
help, thanks!

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com



More information about the CMake mailing list