diff options
author | Robert Dailey <rcdailey@gmail.com> | 2018-01-29 17:34:28 (GMT) |
---|---|---|
committer | Robert Dailey <rcdailey@gmail.com> | 2018-02-15 16:45:37 (GMT) |
commit | a1dee224b8f92a16a84ac285620136d04adb880a (patch) | |
tree | 2207f860ef9062a3cf79683537f5225ea008ecee /.gitignore | |
parent | a2ec98b7d97df67d50e90e790b2bd235f7c278cc (diff) | |
download | CMake-a1dee224b8f92a16a84ac285620136d04adb880a.zip CMake-a1dee224b8f92a16a84ac285620136d04adb880a.tar.gz CMake-a1dee224b8f92a16a84ac285620136d04adb880a.tar.bz2 |
CMake: Enable /MP for MSVC toolchain
A new cache option named `CMake_MSVC_PARALLEL` is now available that can
be used to control the usage of [`/MP`][1] to the MSVC compiler. This
enables parallelized builds on a per-translation unit basis. To enable
`/MP`, specify value `ON` to the option. Using an integral non-zero
value will control the specific number of threads used with the `/MP`
option, as opposed to letting the toolchain decide for you.
Fixes #17696
[1]: https://docs.microsoft.com/en-us/cpp/build/reference/mp-build-with-multiple-processes
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions