diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-04-14 16:48:16 +0200 |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-04-24 10:41:10 +0200 |
commit | e08ba229ee3107bcb814ca45bc9c72a48abf1ba2 (patch) | |
tree | c34d2ca05820acbb31202c5bdbc102059441076b /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | 51b0d45d9120d4bca5c7285d5e6b2f80db5a8310 (diff) | |
download | cmake-e08ba229ee3107bcb814ca45bc9c72a48abf1ba2.tar.gz |
CMake code rely on cmList class for CMake lists management (part. 1)
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index 5de3a55939..694698e559 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -17,6 +17,7 @@ #include "cmGeneratorExpression.h" #include "cmGeneratorTarget.h" #include "cmGlobalGenerator.h" +#include "cmList.h" #include "cmLocalGenerator.h" #include "cmLocalVisualStudio7Generator.h" #include "cmMakefile.h" @@ -580,7 +581,7 @@ void cmGlobalVisualStudio7Generator::WriteSLNGlobalSections( } fout << "\tGlobalSection(" << name << ") = " << sectionType << "\n"; cmValue p = root->GetMakefile()->GetProperty(it); - std::vector<std::string> keyValuePairs = cmExpandedList(p ? *p : ""); + cmList keyValuePairs{ *p }; for (std::string const& itPair : keyValuePairs) { const std::string::size_type posEqual = itPair.find('='); if (posEqual != std::string::npos) { |