diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-06-05 21:40:42 (GMT) |
---|---|---|
committer | Peter Kuemmel <syntheticpp@gmx.net> | 2012-06-05 21:40:42 (GMT) |
commit | 128fe5d504196ab82dde5a7dfe0ffb031b03e590 (patch) | |
tree | 80ca596516797c65c2c92c52778292c9239d3aa1 /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | 0266c9bd1979b1136b33b4ca281eca00925e24cb (diff) | |
download | CMake-128fe5d504196ab82dde5a7dfe0ffb031b03e590.zip CMake-128fe5d504196ab82dde5a7dfe0ffb031b03e590.tar.gz CMake-128fe5d504196ab82dde5a7dfe0ffb031b03e590.tar.bz2 |
Ninja: also create rspfile rules
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 3e6ab76..ddf96eb 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -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(); |