mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Merge topic 'revert-vs-BuildInParallel' into release-3.26
abb1c12162 VS: Revert "Build custom commands concurrently when possible"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8297
This commit is contained in:
@@ -1806,13 +1806,10 @@ void cmVisualStudio10TargetGenerator::WriteCustomRule(
|
||||
this->WriteCustomRuleCSharp(e0, c, name, script, additional_inputs.str(),
|
||||
outputs.str(), comment, ccg);
|
||||
} else {
|
||||
this->WriteCustomRuleCpp(
|
||||
*spe2, c, script, additional_inputs.str(), outputs.str(), comment, ccg,
|
||||
symbolic,
|
||||
(command.GetUsesTerminal() ||
|
||||
(command.HasMainDependency() && source->GetIsGenerated()))
|
||||
? BuildInParallel::No
|
||||
: BuildInParallel::Yes);
|
||||
// FIXME(#18405): Enable BuildInParallel::Yes via an option or policy.
|
||||
this->WriteCustomRuleCpp(*spe2, c, script, additional_inputs.str(),
|
||||
outputs.str(), comment, ccg, symbolic,
|
||||
BuildInParallel::No);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user