Commit 128fe5d5 authored by Peter Kuemmel's avatar Peter Kuemmel

Ninja: also create rspfile rules

parent 0266c9bd
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment