mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
48292c8624
Many `try_compile` and `try_run` calls occur inside check modules
between `message(CHECK_START)` and `message(CHECK_{PASS,FAIL})` pairs.
Add a field to configure log entries to report this context.
Issue: #23200
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
^
|
|
---
|
|
events:
|
|
-
|
|
kind: "try_compile-v1"
|
|
backtrace:
|
|
- "[^"]*/Modules/CMakeDetermineCompilerABI.cmake:[0-9]+ \(try_compile\)"
|
|
- "[^"]*/Modules/CMakeTestCCompiler.cmake:[0-9]+ \(CMAKE_DETERMINE_COMPILER_ABI\)"
|
|
- "ConfigureLog.cmake:[0-9]+ \(enable_language\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
checks:
|
|
- "Detecting C compiler ABI info"
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "CMAKE_C_ABI_COMPILED"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: 0
|
|
-
|
|
kind: "try_compile-v1"
|
|
backtrace:
|
|
- "ConfigureLog.cmake:[0-9]+ \(try_compile\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
description: "Source that should not compile\."
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "COMPILE_RESULT"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: [1-9][0-9]*
|
|
-
|
|
kind: "try_compile-v1"
|
|
backtrace:
|
|
- "ConfigureLog.cmake:[0-9]+ \(try_compile\)"
|
|
- "CMakeLists.txt:[0-9]+ \(include\)"
|
|
checks:
|
|
- "Check 2"
|
|
- "Check 1"
|
|
description: "Source that should compile\."
|
|
directories:
|
|
source: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
binary: "[^"]*/Tests/RunCMake/try_compile/ConfigureLog-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+"
|
|
buildResult:
|
|
variable: "COMPILE_RESULT"
|
|
cached: true
|
|
stdout: \|.*
|
|
exitCode: 0
|
|
\.\.\.$
|