diff options
author | Brad King <brad.king@kitware.com> | 2015-11-02 21:27:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-11-02 21:27:31 (GMT) |
commit | ed67f4052264003133b19edde2c85791d501e001 (patch) | |
tree | 3e868446dd23c143bc5936217726fb256632d2a9 /Source/cmGlobalNinjaGenerator.h | |
parent | 7748a02c3f7d028af13d4fc2c83e7181d11397e9 (diff) | |
download | CMake-ed67f4052264003133b19edde2c85791d501e001.zip CMake-ed67f4052264003133b19edde2c85791d501e001.tar.gz CMake-ed67f4052264003133b19edde2c85791d501e001.tar.bz2 |
cmGlobalNinjaGenerator: Save path to 'ninja' tool very early
Keep it in a member variable for convenient reference. Set the
value as soon as it is known.
Diffstat (limited to 'Source/cmGlobalNinjaGenerator.h')
-rw-r--r-- | Source/cmGlobalNinjaGenerator.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalNinjaGenerator.h b/Source/cmGlobalNinjaGenerator.h index 7547f16..f228340 100644 --- a/Source/cmGlobalNinjaGenerator.h +++ b/Source/cmGlobalNinjaGenerator.h @@ -320,7 +320,7 @@ protected: private: virtual std::string GetEditCacheCommand() const; - + virtual void FindMakeProgram(cmMakefile* mf); void OpenBuildFileStream(); void CloseBuildFileStream(); @@ -392,6 +392,8 @@ private: typedef std::map<std::string, cmGeneratorTarget*> TargetAliasMap; TargetAliasMap TargetAliases; + + std::string NinjaCommand; }; #endif // ! cmGlobalNinjaGenerator_h |