Ninja: also create rspfile rules
This commit is contained in:
parent
0266c9bd19
commit
128fe5d504
|
@ -151,6 +151,8 @@ cmNinjaNormalTargetGenerator
|
|||
{
|
||||
cmTarget::TargetType targetType = this->GetTarget()->GetType();
|
||||
std::string ruleName = this->LanguageLinkerRule();
|
||||
if (useResponseFile)
|
||||
ruleName += "_RSPFILE";
|
||||
|
||||
// Select whether to use a response file for objects.
|
||||
std::string rspfile;
|
||||
|
@ -174,7 +176,6 @@ cmNinjaNormalTargetGenerator
|
|||
} else {
|
||||
responseFlag = "@";
|
||||
}
|
||||
ruleName += "_RSPFILE";
|
||||
rspfile = "$out.rsp";
|
||||
responseFlag += rspfile;
|
||||
vars.Objects = responseFlag.c_str();
|
||||
|
|
Loading…
Reference in New Issue