diff options
author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2022-10-04 20:42:54 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-10-06 12:13:03 (GMT) |
commit | 7e6b2a92a0a3fe1261c1ecb5db2acb7e30a4f75c (patch) | |
tree | 59b492910729614d7a7ff1212be24706c6a7ea87 /Tests/RunCMake/CommandLine | |
parent | cbf3252975ef4acf9d1f11130bf03a8431998697 (diff) | |
download | CMake-7e6b2a92a0a3fe1261c1ecb5db2acb7e30a4f75c.zip CMake-7e6b2a92a0a3fe1261c1ecb5db2acb7e30a4f75c.tar.gz CMake-7e6b2a92a0a3fe1261c1ecb5db2acb7e30a4f75c.tar.bz2 |
try_compile: Report build dir with --debug-trycompile
When `--debug-trycompile` is enabled, issue a log (with trace) for every
`try_compile` noting what directory is being used for the compilation.
This will make it easier to find the corresponding artifacts.
Closes: #24022
Diffstat (limited to 'Tests/RunCMake/CommandLine')
-rw-r--r-- | Tests/RunCMake/CommandLine/debug-trycompile-stderr.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/debug-trycompile-stderr.txt b/Tests/RunCMake/CommandLine/debug-trycompile-stderr.txt new file mode 100644 index 0000000..e987300 --- /dev/null +++ b/Tests/RunCMake/CommandLine/debug-trycompile-stderr.txt @@ -0,0 +1,11 @@ +^CMake Debug Log at [^ +]*/Modules/CMakeDetermineCompilerABI.cmake:[0-9]+ \(try_compile\): + Executing try_compile \(CMAKE_C_ABI_COMPILED\) in: + + [^ +]*/Tests/RunCMake/CommandLine/debug-trycompile-build/CMakeFiles/CMakeScratch/TryCompile-[^/]+ +Call Stack \(most recent call first\): + [^ +]*/Modules/CMakeTestCCompiler.cmake:[0-9]+ \(CMAKE_DETERMINE_COMPILER_ABI\) + debug-trycompile.cmake:[0-9]+ \(enable_language\) + CMakeLists.txt:[0-9]+ \(include\) |