summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-02 21:31:27 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-02 21:37:59 (GMT)
commita3c5ca960bdf7c136fc64e3bb6d6619ca30623d2 (patch)
tree279d1d43a7e44b7053159873d2e6dcd2037fb78d /Source/cmGlobalNinjaGenerator.h
parented67f4052264003133b19edde2c85791d501e001 (diff)
downloadCMake-a3c5ca960bdf7c136fc64e3bb6d6619ca30623d2.zip
CMake-a3c5ca960bdf7c136fc64e3bb6d6619ca30623d2.tar.gz
CMake-a3c5ca960bdf7c136fc64e3bb6d6619ca30623d2.tar.bz2
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 f228340..46bd588 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