backward-cpp
Backward is a beautiful stack trace pretty printer for C++.
Latest version: 1.6
Add to xmake.lua
add_requires("backward-cpp 1.6")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Kind
- library
- Recipe updated
- 2024-07-20T00:08:37.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- msys: i386, x86_64
- mingw: i386, x86_64, arm, arm64
- harmony: armeabi-v7a, arm64-v8a, x86, x86_64
- windows: x86, x64, arm, arm64ec
- iphoneos: arm64, x86_64
- macosx: x86_64, arm64
Options
stack_details- Choose stack details library to use. · Type: string · Values: dw, bfd, dwarf, backtrace_symbol
stack_walking- Choose stack walking library to use. · Type: string · Values: unwind, libunwind, backtrace
Versions
- v1.6
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "backward-cpp 1.6"show info
xrepo info "backward-cpp"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("backward-cpp 1.6")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("backward-cpp")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "backward-cpp 1.6" shell