summaryrefslogtreecommitdiff
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-02 16:31:27 -0500
committerBrad King <brad.king@kitware.com>2015-11-02 16:37:59 -0500
commita3c5ca960bdf7c136fc64e3bb6d6619ca30623d2 (patch)
tree279d1d43a7e44b7053159873d2e6dcd2037fb78d /Source/cmGlobalNinjaGenerator.h
parented67f4052264003133b19edde2c85791d501e001 (diff)
downloadcmake-a3c5ca960bdf7c136fc64e3bb6d6619ca30623d2.tar.gz
cmGlobalNinjaGenerator: Save 'ninja' version very early
Keep it in a member variable for convenient reference. Store the value as soon as it is known.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r--Source/cmGlobalNinjaGenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h
index f22834076a..46bd5881bb 100644
--- a/Source/cmGlobalNinjaGenerator.h
+++ b/Source/cmGlobalNinjaGenerator.h
@@ -305,7 +305,6 @@ public:
virtual void ComputeTargetObjectDirectory(cmGeneratorTarget* gt) const;
- std::string CurrentNinjaVersion() const;
// 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"; }
@@ -394,6 +393,7 @@ private:
TargetAliasMap TargetAliases;
std::string NinjaCommand;
+ std::string NinjaVersion;
};
#endif // ! cmGlobalNinjaGenerator_h