| 473 | } |
| 474 | |
| 475 | void cmState::AddRemovedCommand(std::string const& name, |
| 476 | std::string const& message) |
| 477 | { |
| 478 | this->AddBuiltinCommand(name, |
| 479 | [message](std::vector<cmListFileArgument> const&, |
| 480 | cmExecutionStatus& status) -> bool { |
| 481 | status.GetMakefile().IssueMessage( |
| 482 | MessageType::FATAL_ERROR, message); |
| 483 | return true; |
| 484 | }); |
| 485 | } |
| 486 | |
| 487 | void cmState::AddUnexpectedCommand(std::string const& name, char const* error) |
| 488 | { |
no test coverage detected