Launchers: Support setting linker launchers

Fixes: #18316
This commit is contained in:
Bobby D Reynolds
2021-05-18 08:57:02 -07:00
committed by Brad King
parent 92c8b83641
commit ae108418ae
63 changed files with 261 additions and 1 deletions
@@ -804,6 +804,12 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules(
vars.LanguageCompileFlags = langFlags.c_str();
std::string linkerLauncher =
this->GetLinkerLauncher(this->GetConfigName());
if (cmNonempty(linkerLauncher)) {
vars.Launcher = linkerLauncher.c_str();
}
std::string launcher;
cmProp val = this->LocalGenerator->GetRuleLauncher(this->GeneratorTarget,
"RULE_LAUNCH_LINK");