diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-04 22:24:28 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2001-06-04 22:24:28 (GMT) |
commit | f18bb42bfcf336c27ed5cad12f35626a0e84f84b (patch) | |
tree | 046efaf5b7a00855f966f7de0638a7f7114bbd41 /Source | |
parent | c57d16eb414345bf62545686efaf4a4ff91ba686 (diff) | |
download | CMake-f18bb42bfcf336c27ed5cad12f35626a0e84f84b.zip CMake-f18bb42bfcf336c27ed5cad12f35626a0e84f84b.tar.gz CMake-f18bb42bfcf336c27ed5cad12f35626a0e84f84b.tar.bz2 |
ENH: print all arguments
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMessageCommand.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Source/cmMessageCommand.cxx b/Source/cmMessageCommand.cxx index 98914f2..b0b7ad7 100644 --- a/Source/cmMessageCommand.cxx +++ b/Source/cmMessageCommand.cxx @@ -52,7 +52,14 @@ bool cmMessageCommand::Invoke(std::vector<std::string>& args) if (args.size() >= 2) { - cmSystemTools::Message(args[0].c_str(), args[1].c_str()); + std::string message; + std::vector<std::string>::iterator i = args.begin(); + ++i; + for(;i != args.end(); ++i) + { + message += *i; + } + cmSystemTools::Message(args[0].c_str(), message.c_str()); } else { |