cmContinueCommand
| 9 | |
| 10 | // cmContinueCommand |
| 11 | bool cmContinueCommand(std::vector<std::string> const& args, |
| 12 | cmExecutionStatus& status) |
| 13 | { |
| 14 | if (!status.GetMakefile().IsLoopBlock()) { |
| 15 | status.GetMakefile().IssueMessage( |
| 16 | MessageType::FATAL_ERROR, |
| 17 | "A CONTINUE command was found outside of a " |
| 18 | "proper FOREACH or WHILE loop scope."); |
| 19 | cmSystemTools::SetFatalErrorOccurred(); |
| 20 | return true; |
| 21 | } |
| 22 | |
| 23 | status.SetContinueInvoked(); |
| 24 | |
| 25 | if (!args.empty()) { |
| 26 | status.GetMakefile().IssueMessage( |
| 27 | MessageType::FATAL_ERROR, |
| 28 | "The CONTINUE command does not accept any " |
| 29 | "arguments."); |
| 30 | cmSystemTools::SetFatalErrorOccurred(); |
| 31 | return true; |
| 32 | } |
| 33 | |
| 34 | return true; |
| 35 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…