bring on backward-cpp

cross your fingers
This commit is contained in:
tildearrow 2022-04-18 01:31:03 -05:00
parent b8c790bf79
commit 744c5982e1
4 changed files with 9 additions and 1 deletions

3
.gitmodules vendored
View File

@ -22,3 +22,6 @@
[submodule "extern/Nuked-OPL3"]
path = extern/Nuked-OPL3
url = https://github.com/nukeykt/Nuked-OPL3.git
[submodule "extern/backward"]
path = extern/backward
url = https://github.com/bombela/backward-cpp

View File

@ -442,7 +442,7 @@ else()
endif()
if (WIN32)
list(APPEND DEPENDENCIES_LIBRARIES shlwapi)
list(APPEND DEPENDENCIES_LIBRARIES shlwapi imagehlp msvcr90)
if (NOT MSVC)
list(APPEND DEPENDENCIES_LIBRARIES -static)
endif()

1
extern/backward vendored Submodule

@ -0,0 +1 @@
Subproject commit 5ffb2c879ebdbea3bdb8477c671e32b1c984beaa

View File

@ -39,6 +39,8 @@
#include "gui/gui.h"
#endif
#include "../extern/backward/backward.hpp"
DivEngine e;
#ifdef HAVE_GUI
@ -251,6 +253,8 @@ int main(int argc, char** argv) {
outName="";
vgmOutName="";
backward::SignalHandling crashHandler;
initParams();
// parse arguments