summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNinjaGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-02 21:27:31 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-02 21:27:31 (GMT)
commited67f4052264003133b19edde2c85791d501e001 (patch)
tree3e868446dd23c143bc5936217726fb256632d2a9 /Source/cmGlobalNinjaGenerator.h
parent7748a02c3f7d028af13d4fc2c83e7181d11397e9 (diff)
downloadCMake-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.h4
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