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

Method GetCommandFailureAction

Source/cmake.cxx:461–470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461cmake::CommandFailureAction cmake::GetCommandFailureAction() const
462{
463 switch (this->State->GetRole()) {
464 case cmState::Role::Project:
465 case cmState::Role::CTest:
466 return CommandFailureAction::EXIT_CODE;
467 default:
468 return CommandFailureAction::FATAL_ERROR;
469 }
470}
471
472void cmake::CleanupCommandsAndMacros()
473{

Callers 1

ExecuteCommandMethod · 0.80

Calls 1

GetRoleMethod · 0.80

Tested by

no test coverage detected