[CMake] parallel builds

Bill Hoffman bill.hoffman at kitware.com
Fri Jan 12 21:29:09 EST 2007


Darby J Van Uitert wrote:
> Hello,
>
> How can I have the build portion of running ctest -D Experimental use 
> the -j option and do a parallel build? I normally do a make -j4 and 
> want to do something similar when building an Experimental (or Nightly 
> or Continuous build for that matter). Thanks. Sorry if this is obvious.
Set the following cache variable for the project:

MAKECOMMAND:STRING=gmake -i -j4

-Bill





More information about the CMake mailing list