diff options
| author | Tim Blechmann | 2022-10-04 21:55:50 +0800 |
|---|---|---|
| committer | GitHub | 2022-10-04 15:55:50 +0200 |
| commit | 728de353be6a6d3658932bfc8e1ea5c7742a61c6 (patch) | |
| tree | 7b7219f19086de94e5ed57ecab1b1f6a919b52b1 /tests/SelfTest/UsageTests/ToStringVector.tests.cpp | |
| parent | 0e139b73e4a462f0ea23e22c3182a3d1f91b719d (diff) | |
| download | catch3-728de353be6a6d3658932bfc8e1ea5c7742a61c6.tar.gz | |
improve `-ffile-prefix-map` detection (#2517)
the current implementation has two problems:
* `clang-cl` does not know `-ffile-prefix-map`, but in CMake it is
reported as "Clang", so the compiler will warn about an unknown
compiler option.
* XCode's clang in CMake is reported as "AppleClang", so it is not picked
up as "Clang", so it is not passed `-ffile-prefix-map`, even though
it supports it.
Also changed the map so that the normalized `__FILE__` paths are the same
as what the approval tests normalize paths into.
Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
Diffstat (limited to 'tests/SelfTest/UsageTests/ToStringVector.tests.cpp')
0 files changed, 0 insertions, 0 deletions