[CMake] automatable way to specify parallel --builds

Michael Wild themiwi at gmail.com
Sat May 5 06:30:29 EDT 2012


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?

Michael


More information about the CMake mailing list