cmLocalGenerator: Remove the launcher from RuleVariables

This one is not like the others as it doesn't participate in
substitutions.  Keep ExpandRuleVariables doing only one thing and make
callers responsible for inserting a launcher prefix, simplifying the
code all-around.

Remove now-obsolete InsertRuleLauncher method.
This commit is contained in:
Stephen Kelly
2016-10-09 10:34:47 +02:00
parent 0d81863297
commit 425cd1670f
9 changed files with 57 additions and 44 deletions

View File

@@ -58,12 +58,6 @@ public:
return this->HomeRelativeOutputPath;
}
void ExpandRuleVariables(std::string& string,
const RuleVariables& replaceValues)
{
cmLocalGenerator::ExpandRuleVariables(string, replaceValues);
}
std::string BuildCommandLine(const std::vector<std::string>& cmdLines);
void AppendTargetOutputs(cmGeneratorTarget* target, cmNinjaDeps& outputs);