diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-04-04 15:09:56 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-04-05 12:22:48 (GMT) |
commit | 19b7c22d020a3b1bf26065beb33b0f2f499cd1ad (patch) | |
tree | 3bf35421a3deebac491be956bcafad23a0c5a72c /Source/cmNinjaTargetGenerator.h | |
parent | a02c30c29407f30bce654be60da91cf84e2cb4f1 (diff) | |
download | CMake-19b7c22d020a3b1bf26065beb33b0f2f499cd1ad.zip CMake-19b7c22d020a3b1bf26065beb33b0f2f499cd1ad.tar.gz CMake-19b7c22d020a3b1bf26065beb33b0f2f499cd1ad.tar.bz2 |
Ninja: Query custom commands once per target, not once per file.
Computing the source files is now more expensive, so the Ninja
generator became very slow with a large number of files.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaTargetGenerator.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h index 8669e6e..8073af2 100644 --- a/Source/cmNinjaTargetGenerator.h +++ b/Source/cmNinjaTargetGenerator.h @@ -153,6 +153,7 @@ private: cmLocalNinjaGenerator* LocalGenerator; /// List of object files for this target. cmNinjaDeps Objects; + std::vector<cmCustomCommand const*> CustomCommands; typedef std::map<std::string, std::string> LanguageFlagMap; LanguageFlagMap LanguageFlags; |