diff options
author | Alexander Boczar <alexboc@microsoft.com> | 2019-09-13 17:32:13 -0700 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-10-15 13:28:41 -0400 |
commit | 99e83d423500e11a8e85c2032e8c536bce175ed1 (patch) | |
tree | ad294f09e5fb3f9804e3f99d64f95d9bbc51761a /Source/cmGlobalXCodeGenerator.h | |
parent | 60509518124e715994900afa88530558b248510c (diff) | |
download | cmake-99e83d423500e11a8e85c2032e8c536bce175ed1.tar.gz |
cmake: Teach --build mode to load CMAKE_GENERATOR_TOOLSET
Extend the `cmGlobalGenerator::SetGeneratorToolset` signature to
indicate when it is called from `cmake::build`.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.h')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.h b/Source/cmGlobalXCodeGenerator.h index af905d00c4..f60ea728d8 100644 --- a/Source/cmGlobalXCodeGenerator.h +++ b/Source/cmGlobalXCodeGenerator.h @@ -103,7 +103,8 @@ public: bool ShouldStripResourcePath(cmMakefile*) const override; - bool SetGeneratorToolset(std::string const& ts, cmMakefile* mf) override; + bool SetGeneratorToolset(std::string const& ts, bool build, + cmMakefile* mf) override; void AppendFlag(std::string& flags, std::string const& flag) const; protected: |