Add auto dmp file genration

This commit is contained in:
2025-06-02 22:41:39 +02:00
parent 25bc32e84f
commit ac2c5ab4cf
2 changed files with 33 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ option(USE_LTO "Use link-time optimization" OFF)
option(WITH_BETTER_RENDERER "Experimental multi-backend renderer based on NVRHI" ON)
option(GENERATE_PDB "Generate executable with program debugging symbols" ON)
option(ENABLE_MCC "Enable multicore compilation" ON)
option(WITHDUMPGEN "Enable generating DMP files on crash" ON)
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
@@ -265,6 +266,10 @@ if (WITH_LUA)
set(SOURCES ${SOURCES} "lua.cpp")
endif()
if (WITHDUMPGEN)
set(DEFINITIONS ${DEFINITIONS} "WITHDUMPGEN")
endif()
if (WITH_OPENGL_MODERN)
set(SOURCES ${SOURCES}
"opengl33geometrybank.cpp"