MCPcopy Create free account
hub / github.com/Kitware/CMake / AddRemovedCommand

Method AddRemovedCommand

Source/cmState.cxx:475–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

473}
474
475void 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
487void cmState::AddUnexpectedCommand(std::string const& name, char const* error)
488{

Callers 2

GetScriptingCommandsFunction · 0.80
GetProjectCommandsFunction · 0.80

Calls 3

AddBuiltinCommandMethod · 0.95
IssueMessageMethod · 0.45
GetMakefileMethod · 0.45

Tested by

no test coverage detected