| 404 | } |
| 405 | |
| 406 | static bool InvokeBuiltinCommand(cmState::BuiltinCommand command, |
| 407 | std::vector<cmListFileArgument> const& args, |
| 408 | cmExecutionStatus& status) |
| 409 | { |
| 410 | cmMakefile& mf = status.GetMakefile(); |
| 411 | std::vector<std::string> expandedArguments; |
| 412 | if (!mf.ExpandArguments(args, expandedArguments)) { |
| 413 | // There was an error expanding arguments. It was already |
| 414 | // reported, so we can skip this command without error. |
| 415 | return true; |
| 416 | } |
| 417 | return command(expandedArguments, status); |
| 418 | } |
| 419 | |
| 420 | void cmState::AddBuiltinCommand(std::string const& name, |
| 421 | BuiltinCommand command) |
no test coverage detected
searching dependent graphs…