[CMake] cmake --build parallel options (was: VS2012 builds using v3.1.0 are a lot slower than v2.8.12)

Paul Smith paul at mad-scientist.net
Wed Jan 21 11:21:59 EST 2015


On Wed, 2015-01-21 at 11:12 -0500, Brad King wrote:
> Rather than requiring users to run
> 
>  cmake --build . -- $tool_specific_parallel_option
> 
> to get a parallel build we could instead extend the "cmake --build"
> command to support an option mapping to the right parallel option
> underneath:
> 
>  cmake --build . --parallel
>  cmake --build . --parallel=$n

Unfortunately (for you guys :-)) I think this will end up being the only
reliably portable answer...

It was what I was going to suggest before I saw this email :-p :-)



More information about the CMake mailing list