VS: Revert "Build custom commands concurrently when possible"
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