| 19 | namespace { |
| 20 | #ifndef CMAKE_BOOTSTRAP |
| 21 | void WriteTryCompileEvent(cmConfigureLog& log, cmMakefile const& mf, |
| 22 | cmTryCompileResult const& compileResult) |
| 23 | { |
| 24 | // Keep in sync with cmFileAPIConfigureLog's DumpEventKindNames. |
| 25 | static std::vector<unsigned int> const LogVersionsWithTryCompileV1{ 1 }; |
| 26 | |
| 27 | if (log.IsAnyLogVersionEnabled(LogVersionsWithTryCompileV1)) { |
| 28 | log.BeginEvent("try_compile-v1", mf); |
| 29 | cmCoreTryCompile::WriteTryCompileEventFields(log, compileResult); |
| 30 | log.EndEvent(); |
| 31 | } |
| 32 | } |
| 33 | #endif |
| 34 | } |
| 35 |
no test coverage detected
searching dependent graphs…