BUG: fix issue with too many fast targets being listed
This commit is contained in:
parent
29a03db7ce
commit
6580114309
@ -651,14 +651,19 @@ cmGlobalUnixMakefileGenerator3
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Add a fast rule to build the target
|
if(t->second.GetName() &&
|
||||||
depends.clear();
|
strlen(t->second.GetName()) &&
|
||||||
commands.clear();
|
emitted.insert(t->second.GetName()).second)
|
||||||
std::string localName = t->second.GetName();
|
{
|
||||||
depends.push_back(localName);
|
// Add a fast rule to build the target
|
||||||
localName += "/fast";
|
depends.clear();
|
||||||
lg->WriteMakeRule(ruleFileStream, "fast build rule for target.",
|
commands.clear();
|
||||||
localName.c_str(), depends, commands, true);
|
std::string localName = t->second.GetName();
|
||||||
|
depends.push_back(localName);
|
||||||
|
localName += "/fast";
|
||||||
|
lg->WriteMakeRule(ruleFileStream, "fast build rule for target.",
|
||||||
|
localName.c_str(), depends, commands, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user