summaryrefslogtreecommitdiff
path: root/Source/cmXCodeScheme.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-08-11 11:56:59 +0200
committerSebastian Holtermann <sebholt@xwmw.org>2019-08-14 16:33:20 +0200
commitf4f3c68926492e5660c4e66d5cdcf2298619c1b9 (patch)
treea559edb65acf4fa1583c90031e81462258494d8d /Source/cmXCodeScheme.cxx
parentff42dec89143c3b8027c9768c2910ca270ddd951 (diff)
downloadcmake-f4f3c68926492e5660c4e66d5cdcf2298619c1b9.tar.gz
Source code: Use cmExpandList instead of cmSystemTools::ExpandListArgument
Diffstat (limited to 'Source/cmXCodeScheme.cxx')
-rw-r--r--Source/cmXCodeScheme.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmXCodeScheme.cxx b/Source/cmXCodeScheme.cxx
index c33bb7e8f9..a565a9c1a7 100644
--- a/Source/cmXCodeScheme.cxx
+++ b/Source/cmXCodeScheme.cxx
@@ -218,7 +218,7 @@ void cmXCodeScheme::WriteLaunchAction(cmXMLWriter& xout,
if (const char* argList =
this->Target->GetTarget()->GetProperty("XCODE_SCHEME_ARGUMENTS")) {
std::vector<std::string> arguments;
- cmSystemTools::ExpandListArgument(argList, arguments);
+ cmExpandList(argList, arguments);
if (!arguments.empty()) {
xout.StartElement("CommandLineArguments");
@@ -239,7 +239,7 @@ void cmXCodeScheme::WriteLaunchAction(cmXMLWriter& xout,
if (const char* envList =
this->Target->GetTarget()->GetProperty("XCODE_SCHEME_ENVIRONMENT")) {
std::vector<std::string> envs;
- cmSystemTools::ExpandListArgument(envList, envs);
+ cmExpandList(envList, envs);
if (!envs.empty()) {
xout.StartElement("EnvironmentVariables");