cpptrace
Lightweight, zero-configuration-required, and cross-platform stacktrace library for C++
Latest version: 1.0.4
Add to xmake.lua
add_requires("cpptrace 1.0.4")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Recipe updated
- 2025-11-10T11:24:45.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- mingw: i386, x86_64, arm, arm64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
- windows: x86, x64, arm, arm64, arm64ec
- macosx: x86_64, arm64
Options
libunwind- Enable libunwind for stack unwinding · Type: boolean · Default: false
Versions
- v0.1
- v0.3.1
- v0.4.0
- v0.5.1
- v0.5.2
- v0.5.4
- v0.6.0
- v0.6.1
- v0.6.2
- v0.6.3
- v0.7.0
- v0.7.1
- v0.7.3
- v0.7.4
- v0.7.5
- v0.8.2
- v0.8.3
- v1.0.0
- v1.0.1
- v1.0.2
- v1.0.3
- v1.0.4
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "cpptrace 1.0.4"show info
xrepo info "cpptrace"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("cpptrace 1.0.4")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("cpptrace")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 "cpptrace 1.0.4" shell