Files
CMake/Tests/RunCMake/target_sources/FileSetFileNoExist-stderr.txt
T
Brad King b909be9e23 target_sources: Fix backtrace on missing source
If a source file is not found, the error message reports a backtrace.
Previously the backtrace pointed at where the target was created.
In the case of `target_sources`, the missing source may have been
named elsewhere.

Fixes: #24538
2023-02-28 18:07:36 -05:00

11 lines
303 B
Plaintext

^CMake Error at FileSetFileNoExist\.cmake:[0-9]+ \(target_sources\):
Cannot find source file:
[^
]*/Tests/RunCMake/target_sources/noexist\.h
Call Stack \(most recent call first\):
CMakeLists\.txt:[0-9]+ \(include\)
CMake Generate step failed\. Build files cannot be regenerated correctly\.$