Compile with libbacktrace on linux.

This commit is contained in:
Bartosz Taudul 2019-01-20 16:55:33 +01:00
parent 420a50feea
commit 79a5a860a5

View File

@ -21,6 +21,17 @@
#include "common/TracySocket.cpp" #include "common/TracySocket.cpp"
#include "client/tracy_rpmalloc.cpp" #include "client/tracy_rpmalloc.cpp"
#ifdef __linux
# include "libbacktrace/alloc.cpp"
# include "libbacktrace/dwarf.cpp"
# include "libbacktrace/elf.cpp"
# include "libbacktrace/fileline.cpp"
# include "libbacktrace/mmapio.cpp"
# include "libbacktrace/posix.cpp"
# include "libbacktrace/sort.cpp"
# include "libbacktrace/state.cpp"
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
# pragma comment(lib, "ws2_32.lib") # pragma comment(lib, "ws2_32.lib")
# pragma comment(lib, "dbghelp.lib") # pragma comment(lib, "dbghelp.lib")