catch2/CMake
Tim Blechmann 728de353be
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>
2022-10-04 15:55:50 +02:00
..
catch2-with-main.pc.in Fix name of with-main library. 2022-03-04 00:40:55 +01:00
catch2.pc.in pkgconfig: Add missing entries 2021-09-11 19:02:21 +02:00
Catch2Config.cmake.in Separate Catch2Config from targets 2018-06-24 12:32:22 +02:00
CatchConfigOptions.cmake Fix building as shared library with MSVC. 2022-09-24 15:15:50 +02:00
CatchMiscFunctions.cmake improve -ffile-prefix-map detection (#2517) 2022-10-04 15:55:50 +02:00
Findcodecov.cmake Fix typos identified by codespell. 2019-04-10 09:42:11 +02:00
FindGcov.cmake Fix typos identified by codespell. 2019-04-10 09:42:11 +02:00
FindLcov.cmake Add codecov.io coverage tracking 2017-11-27 20:13:47 +01:00
llvm-cov-wrapper Add codecov.io coverage tracking 2017-11-27 20:13:47 +01:00