diff options
author | Brad King <brad.king@kitware.com> | 2016-09-19 16:27:21 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-20 08:51:57 -0400 |
commit | 501f9c93671cdbed546bb92382240cc704cf6e6a (patch) | |
tree | 8d41d1c5e6568dd77ec8849e1d0bf7d22ff0d478 /Source/cmGlobalNinjaGenerator.h | |
parent | 144a24dcdcbb075d60d31171e0bda0654e613287 (diff) | |
download | cmake-501f9c93671cdbed546bb92382240cc704cf6e6a.tar.gz |
cmGlobalNinjaGenerator: Add API to check for implicit outputs support
Ninja 1.7 introduced support for implicit outputs on build statements.
Add an internal API to check whether the Ninja version in use for the
build supports this feature.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index d8eddd0124..02016859df 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -339,7 +339,9 @@ public: // Ninja generator uses 'deps' and 'msvc_deps_prefix' introduced in 1.3 static std::string RequiredNinjaVersion() { return "1.3"; } static std::string RequiredNinjaVersionForConsolePool() { return "1.5"; } + static std::string RequiredNinjaVersionForImplicitOuts() { return "1.7"; } bool SupportsConsolePool() const; + bool SupportsImplicitOuts() const; std::string NinjaOutputPath(std::string const& path); bool HasOutputPathPrefix() const { return !this->OutputPathPrefix.empty(); } |