diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-02-28 15:23:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-28 15:23:40 -0500 |
commit | 447d58b4ee8ea96b4757a5bb5f0b3be75af6c2a1 (patch) | |
tree | 0ff88864c55695d1b6efde885fd04d47831049d8 | |
parent | 18d270e335c420d69df0a7db17d9068056165459 (diff) | |
parent | 3431b6990980abc12246298644594070e8315f88 (diff) | |
download | googletest-447d58b4ee8ea96b4757a5bb5f0b3be75af6c2a1.tar.gz googletest-447d58b4ee8ea96b4757a5bb5f0b3be75af6c2a1.tar.bz2 googletest-447d58b4ee8ea96b4757a5bb5f0b3be75af6c2a1.zip |
Merge pull request #1485 from coryan/parallelize-appveyor
Add options to parallelize builds.
-rw-r--r-- | appveyor.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/appveyor.yml b/appveyor.yml index 8d9cc64f..84d9fbce 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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" } |