diff options
author | Peter Kuemmel <syntheticpp@gmx.net> | 2012-07-02 08:30:29 (GMT) |
---|---|---|
committer | Peter Kuemmel <syntheticpp@gmx.net> | 2012-07-02 08:30:29 (GMT) |
commit | 6332ba5a58f0114d1763c263950eae20b09eaa4b (patch) | |
tree | 530ba40ba8ccf5c82ed431f67f5abb2bb9e175df /Source/cmGlobalNinjaGenerator.cxx | |
parent | 0c42faf63acadf320ea6371d42d03386e1c20176 (diff) | |
download | CMake-6332ba5a58f0114d1763c263950eae20b09eaa4b.zip CMake-6332ba5a58f0114d1763c263950eae20b09eaa4b.tar.gz CMake-6332ba5a58f0114d1763c263950eae20b09eaa4b.tar.bz2 |
Ninja: also consider rule command length for rsp file
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.cxx')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.cxx b/Source/cmGlobalNinjaGenerator.cxx index 6e8ce87..23f42e4 100644 --- a/Source/cmGlobalNinjaGenerator.cxx +++ b/Source/cmGlobalNinjaGenerator.cxx @@ -557,6 +557,8 @@ void cmGlobalNinjaGenerator::AddRule(const std::string& name, rspfile, restat, generator); + + this->RuleCmdLength[name] = command.size(); } bool cmGlobalNinjaGenerator::HasRule(const std::string &name) |