[CMake] parallel build using "cmake --build"?

John Drescher drescherjm at gmail.com
Sat Nov 26 10:46:10 EST 2011


On Fri, Nov 25, 2011 at 10:16 PM, Steve M. Robbins <steve at sumost.ca> wrote:
> Hi,
>
> To build VTK on our windows build server, I wrote a small batch script
> that invokes "cmake --build".
>
> My developer machine is multicore; is there a way to get "cmake --build"
> to run multiple jobs?
>

On windows, I use the following tool

http://www.codeproject.com/KB/cpp/runjobs.aspx

to build each configuration (Debug, Release, RelWithDebInfo ...) in
parallel using separate calls to cmake --build.

John


More information about the CMake mailing list