diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2014-03-10 22:48:46 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2014-05-07 18:30:31 (GMT) |
commit | 18e478a860ce480f47ca2fdf583f3c5d65f93ccf (patch) | |
tree | af6cb645078d7d1a813d860219d29a22f2be76b7 /Source/cmNinjaTargetGenerator.h | |
parent | 6fa6bedf78981d336b66d55ca10a1d290d014101 (diff) | |
download | CMake-18e478a860ce480f47ca2fdf583f3c5d65f93ccf.zip CMake-18e478a860ce480f47ca2fdf583f3c5d65f93ccf.tar.gz CMake-18e478a860ce480f47ca2fdf583f3c5d65f93ccf.tar.bz2 |
ninja: Factor out target-level order-only dependencies
This reduces ninja file output even more for projects with lots of
libraries with entangled transitive dependencies. ParaView goes from the
previous 58M to about 45M.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.h')
-rw-r--r-- | Source/cmNinjaTargetGenerator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmNinjaTargetGenerator.h b/Source/cmNinjaTargetGenerator.h index be516e0..94c420f 100644 --- a/Source/cmNinjaTargetGenerator.h +++ b/Source/cmNinjaTargetGenerator.h @@ -74,6 +74,10 @@ protected: bool GetFeatureAsBool(const std::string& feature); void AddFeatureFlags(std::string& flags, const std::string& lang); + std::string OrderDependsTargetForTarget(); + + std::string ComputeOrderDependsForTarget(); + /** * Compute the flags for compilation of object files for a given @a language. * @note Generally it is the value of the variable whose name is computed |