diff options
author | Brad King <brad.king@kitware.com> | 2015-05-26 13:14:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-26 13:15:10 (GMT) |
commit | 9da84ab64a94c641e5316f8a72df2f36d7a0e321 (patch) | |
tree | de8a2ff9bb9c1b01b136c11e7612bfbc9afa4877 /Source/cmGlobalNinjaGenerator.cxx | |
parent | a390de65e09e3ebc496fc14d40848ea4940cc9b0 (diff) | |
download | CMake-9da84ab64a94c641e5316f8a72df2f36d7a0e321.zip CMake-9da84ab64a94c641e5316f8a72df2f36d7a0e321.tar.gz CMake-9da84ab64a94c641e5316f8a72df2f36d7a0e321.tar.bz2 |
Ninja: Fix regression in .rsp file support
In commit a390de65 (Ninja: Generate separate compile and link rules for
each target, 2015-05-18) we removed the _RSP_FILE suffix from rule names
meant for targets that need to build with a .rsp file because we now use
per-target rules anyway. Remove this suffix from references to the rule
too.
Reported-by: Herz Thomas <Thomas.Herz@kuka.com>
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index e064b84..d2d9fd9 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -233,7 +233,6 @@ void cmGlobalNinjaGenerator::WriteBuild(std::ostream& os, if (cmdLineLimit > 0 && args.size() + buildstr.size() + assignments.size() > (size_t) cmdLineLimit) { - buildstr += "_RSP_FILE"; variable_assignments.str(std::string()); cmGlobalNinjaGenerator::WriteVariable(variable_assignments, "RSP_FILE", rspfile, "", 1); |