diff options
author | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-25 21:24:13 (GMT) |
---|---|---|
committer | Sebastien Barre <sebastien.barre@kitware.com> | 2002-03-25 21:24:13 (GMT) |
commit | c617091d13a4330ee9c4d1f3dfff362e80b1b917 (patch) | |
tree | b74f06ad796137d80f434286ac19aa54b4ecd814 /Source/cmForEachCommand.cxx | |
parent | 32fb77fff2a4a95e4f3d505e4e879c06713350d3 (diff) | |
download | CMake-c617091d13a4330ee9c4d1f3dfff362e80b1b917.zip CMake-c617091d13a4330ee9c4d1f3dfff362e80b1b917.tar.gz CMake-c617091d13a4330ee9c4d1f3dfff362e80b1b917.tar.bz2 |
ENH: support semi-colon format (list of args as string)
Diffstat (limited to 'Source/cmForEachCommand.cxx')
-rw-r--r-- | Source/cmForEachCommand.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx index 84b8390..e4cca41 100644 --- a/Source/cmForEachCommand.cxx +++ b/Source/cmForEachCommand.cxx @@ -85,8 +85,11 @@ ScopeEnded(cmMakefile &mf) mf.GetCurrentDirectory()); } -bool cmForEachCommand::InitialPass(std::vector<std::string> const& args) +bool cmForEachCommand::InitialPass(std::vector<std::string> const& argsIn) { + std::vector<std::string> args; + cmSystemTools::ExpandListArguments(argsIn, args); + if(args.size() < 2 ) { this->SetError("called with incorrect number of arguments"); |