Skip to content

VS: Revert "Build custom commands concurrently when possible"

Brad King requested to merge brad.king/cmake:revert-vs-BuildInParallel into master

Since !8093 (merged) we add BuildInParallel to custom commands in .vcxproj files. However, this can break existing projects that implicitly rely on serial execution of custom commands. For example, custom commands in our FindCUDA module run MSVC (via nvcc) with a common vc*.pdb file, and therefore cannot run in parallel.

Revert use of BuildInParallel while leaving most of the infrastructure for it in place. It can be restored later with an option or policy.

Fixes: #24576 (closed)
Issue: #18405 (closed)
Backport: release

Merge request reports