cmLocalGenerator: Use a converter in rule replacement API

The rule replacement API should not really be in cmLocalGenerator, but
it was historically, and this coupled many other things together here
too, such as output conversion.  Make the output converter a parameter
so that rule replacement can be removed from cmLocalGenerator.
This commit is contained in:
Stephen Kelly
2016-10-09 10:34:50 +02:00
parent 2628dec12c
commit 46ad0d2183
9 changed files with 42 additions and 24 deletions
+1 -1
View File
@@ -1005,7 +1005,7 @@ void cmLocalUnixMakefileGenerator3::AppendCustomCommand(
launcher = val;
launcher += " ";
this->ExpandRuleVariables(launcher, vars);
this->ExpandRuleVariables(this, launcher, vars);
if (!launcher.empty()) {
launcher += " ";
}