mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
Merge topic 'revert-vs-BuildInParallel'
abb1c12162 VS: Revert "Build custom commands concurrently when possible"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8297
This commit is contained in:
@@ -1810,13 +1810,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