| 49 | } |
| 50 | |
| 51 | void ReportCheckResult(cm::string_view what, std::string result, |
| 52 | cmMakefile& mf) |
| 53 | { |
| 54 | if (mf.GetCMakeInstance()->HasCheckInProgress()) { |
| 55 | auto text = mf.GetCMakeInstance()->GetTopCheckInProgressMessage() + " - " + |
| 56 | std::move(result); |
| 57 | mf.DisplayStatus(IndentText(std::move(text), mf), -1); |
| 58 | } else { |
| 59 | mf.GetMessenger()->DisplayMessage( |
| 60 | MessageType::AUTHOR_WARNING, |
| 61 | cmStrCat("Ignored "_s, what, " without CHECK_START"_s), |
| 62 | mf.GetBacktrace()); |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | namespace { |
| 67 | #ifndef CMAKE_BOOTSTRAP |
no test coverage detected
searching dependent graphs…