Included source location info (file name and line #) in debug logging

This commit is contained in:
Nav
2025-01-09 21:58:56 +00:00
parent a3501153d4
commit 9c142d8b87
3 changed files with 18 additions and 7 deletions

View File

@@ -121,6 +121,8 @@ target_compile_options(
PUBLIC -Wsuggest-override
PUBLIC -Wreorder
PUBLIC -fno-sized-deallocation
PUBLIC -ffile-prefix-map=${CMAKE_SOURCE_DIR}/./src/=
PUBLIC -ffile-prefix-map=${CMAKE_SOURCE_DIR}/src/=
PUBLIC $<$<CONFIG:DEBUG>:-g>
# PUBLIC $<$<CONFIG:DEBUG>:-O0>
PUBLIC $<$<CONFIG:DEBUG>:-Ofast>