diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-06-06 16:17:10 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-07-10 10:59:20 (GMT) |
commit | d95651e15abbe6dcb771b776dfc69a1412dd0400 (patch) | |
tree | c6f2ead7e6526f1e2daa35d6b98b23607fd4475c /Source/cmLocalGenerator.cxx | |
parent | a18e9586dbd7172911fde22b6b6331676b817e4d (diff) | |
download | CMake-d95651e15abbe6dcb771b776dfc69a1412dd0400.zip CMake-d95651e15abbe6dcb771b776dfc69a1412dd0400.tar.gz CMake-d95651e15abbe6dcb771b776dfc69a1412dd0400.tar.bz2 |
Overload cmLocalGenerator::AppendDefines to add a list.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 00846d5..70d7d16 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2301,7 +2301,13 @@ void cmLocalGenerator::AppendDefines(std::set<std::string>& defines, // Expand the list of definitions. std::vector<std::string> defines_vec; cmSystemTools::ExpandListArgument(defines_list, defines_vec); + this->AppendDefines(defines, defines_vec); +} +//---------------------------------------------------------------------------- +void cmLocalGenerator::AppendDefines(std::set<std::string>& defines, + const std::vector<std::string> &defines_vec) +{ for(std::vector<std::string>::const_iterator di = defines_vec.begin(); di != defines_vec.end(); ++di) { |