Cataclysm-DDA/build-scripts
John Bytheway 25f6c3a67d Support libbacktrace on Linux
We've supported libbacktrace as an optional dependency on Windows for a
while now.  At the same time, our backtrace implementation on Linux is
very inefficient.

Optionally use libbacktrace on Linux too, when requested at configure
time.  This is much less code and much faster at runtime, but we retain
the old implementation as well for the time being so that we are not
adding an additional mandatory dependency.

Currently the LIBBACKTRACE option is off by default because installing
libbacktrace is surprisingly difficult to do; most distros do not
package it.  It would be nice to enable it at least for the release
builds so that end users on Linux get faster backtraces.  That should be
possible but I'm not attempting it yet.

Using libbacktrace without debug info is useless, so enabling
LIBBACKTRACE forces -g1 even on release builds in the Makefile.
2022-07-09 15:02:22 -04:00
..
problem-matchers Use GNU Parallel to run tests concurrently 2021-02-03 20:30:43 -08:00
CMakeUserPresets.json.in Write CMakeUserPresets.json based on VsDevCmd envs 2022-05-15 18:32:00 +02:00
Dockerfile.debian-build Get rid of Lua modding (#28572) 2019-03-13 20:36:17 -07:00
MSVC.cmake Search ninja.exe only when generator is Ninja* 2022-05-15 18:32:00 +02:00
build.sh Support libbacktrace on Linux 2022-07-09 15:02:22 -04:00
clang-tidy-wrapper.sh Make the clang-tidy CI job less verbose (#41887) 2020-07-05 20:34:23 -07:00
clang-tidy.sh Unflub clang-tidy (#57450) 2022-05-05 15:07:59 -07:00
files_changed Unflub clang-tidy (#57450) 2022-05-05 15:07:59 -07:00
get_affected_files.py Unflub clang-tidy (#57450) 2022-05-05 15:07:59 -07:00
get_all_mods.py Fix some plurals and fix json loading encoding in `get_all_mods.py` (#55634) 2022-02-25 00:09:04 -08:00
gha_compile_only.sh Optimize JSON validation on CI (#55060) 2022-02-03 09:31:50 -08:00
gha_test_only.sh Fix typo in GitHub Actions CI test script (#55084) 2022-02-04 13:55:15 -08:00
libbacktrace-i686-w64-mingw32-sha256 Use libbacktrace to generate readable backtrace on Windows (#36615) 2020-01-06 22:02:08 +03:00
libbacktrace-x86_64-w64-mingw32-sha256 Enable backtrace in MinGW release (#51997) 2021-09-30 13:06:46 -07:00
requirements.sh Support libbacktrace on Linux 2022-07-09 15:02:22 -04:00
validate_json.py Optimize JSON validation on CI (#55060) 2022-02-03 09:31:50 -08:00
windist.ps1 Add native msvc builds to release.yml 2021-09-29 18:21:55 -07:00
x64-release.cmake Fix sourcing VsDevCmd.bat twice 2022-05-15 18:32:00 +02:00