mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
Add auto dmp file genration
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user