CMake: Use -ffile-prefix-map to trim build directory from debug output

pull/590/head
Jonathan G Rennison 9 months ago
parent 92e632454e
commit 1e1ad66e90

@ -92,6 +92,8 @@ macro(compile_flags)
# break anything. So disable strict-aliasing to make the
# compiler all happy.
-fno-strict-aliasing
"-ffile-prefix-map=${CMAKE_SOURCE_DIR}/=/"
)
if(NOT CMAKE_BUILD_TYPE)

Loading…
Cancel
Save