diff options
author | Justin Goshi <jgoshi@microsoft.com> | 2019-09-03 17:25:44 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-09-09 13:43:34 (GMT) |
commit | a20d2c85d02842a23ef1105daa078a821172cb4e (patch) | |
tree | 10cffbaad10fcd0805859548257c88d5309970e3 /Source/cmLocalGenerator.cxx | |
parent | b13207910e848d3c980e4b3dc176e113a3c04bbc (diff) | |
download | CMake-a20d2c85d02842a23ef1105daa078a821172cb4e.zip CMake-a20d2c85d02842a23ef1105daa078a821172cb4e.tar.gz CMake-a20d2c85d02842a23ef1105daa078a821172cb4e.tar.bz2 |
cmLocalGenerator: Add AppendFlags overload with backtraces
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 042c108..144d995 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2138,6 +2138,14 @@ void cmLocalGenerator::AppendFlags(std::string& flags, } } +void cmLocalGenerator::AppendFlags( + std::string& flags, const std::vector<BT<std::string>>& newFlags) const +{ + for (BT<std::string> const& flag : newFlags) { + this->AppendFlags(flags, flag.Value); + } +} + void cmLocalGenerator::AppendFlagEscape(std::string& flags, const std::string& rawFlag) const { |