16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-09-01 10:29:18 +02:00

Improve crash handling and diagnostics

This commit is contained in:
maj00r
2026-08-15 16:50:47 +02:00
parent df06c62cdf
commit 4838c15659
4 changed files with 311 additions and 23 deletions

View File

@@ -284,6 +284,10 @@ endif()
if (WITHDUMPGEN)
set(DEFINITIONS ${DEFINITIONS} "WITHDUMPGEN")
if (NOT MSVC AND NOT WIN32)
# expose symbol names to backtrace() in the crash handler
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -rdynamic")
endif()
endif()
if (WITH_OPENGL_MODERN)