ENH: support semi-colon format (list of args as string)

This commit is contained in:
Sebastien Barre 2002-03-25 16:24:13 -05:00
parent 32fb77fff2
commit c617091d13
1 changed files with 4 additions and 1 deletions

View File

@ -85,8 +85,11 @@ ScopeEnded(cmMakefile &mf)
mf.GetCurrentDirectory()); 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 ) if(args.size() < 2 )
{ {
this->SetError("called with incorrect number of arguments"); this->SetError("called with incorrect number of arguments");