Unverified Commit 3431b699 authored by Carlos O'Ryan's avatar Carlos O'Ryan
Browse files

Add options to parallelize builds.

AppVeyor build servers have two cores, so why not use them?
parent 9557d29b
......@@ -72,7 +72,8 @@ build_script:
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
& cmake --build . --config $env:configuration
$cmake_parallel = if ($env:generator -eq "MinGW Makefiles") {"-j2"} else {"/m"}
& cmake --build . --config $env:configuration -- $cmake_parallel
if ($LastExitCode -ne 0) {
throw "Exec: $ErrorMessage"
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment