diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-18 12:02:00 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-04-18 12:02:00 -0400 |
commit | 72022ac27ba0ec4476a468b789c600f00edab669 (patch) | |
tree | 64ad77f30fa8b6ec3c73d5b9557a37ffb2b74ce6 /Source/cmMessageCommand.cxx | |
parent | 71fb2a2386a8efface0f68ff912c1522b103b2fa (diff) | |
download | cmake-72022ac27ba0ec4476a468b789c600f00edab669.tar.gz |
ENH: add ability to escape semi-colons
Diffstat (limited to 'Source/cmMessageCommand.cxx')
-rw-r--r-- | Source/cmMessageCommand.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx index 0cb2661fd7..809cfe6fd0 100644 --- a/Source/cmMessageCommand.cxx +++ b/Source/cmMessageCommand.cxx @@ -18,14 +18,15 @@ #include "cmCacheManager.h" // cmLibraryCommand -bool cmMessageCommand::InitialPass(std::vector<std::string> const& args) +bool cmMessageCommand::InitialPass(std::vector<std::string> const& argsIn) { - if(args.size() < 1 ) + if(argsIn.size() < 1 ) { this->SetError("called with incorrect number of arguments"); return false; } - + std::vector<std::string> args; + cmSystemTools::ExpandListArguments(argsIn, args); std::string message; std::vector<std::string>::const_iterator i = args.begin(); |