botan
Cryptography Toolkit
Latest version: 3.13.0
Add to xmake.lua
add_requires("botan 3.13.0")Learn how to add and link packages with Xmake →
Information
- License
- BSD-2-Clause
- Recipe updated
- 2026-10-05T16:31:05.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- msys: i386, x86_64
- wasm: wasm32, wasm64
- bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
- windows: x86, x64, arm, arm64, arm64ec
- macosx: x86_64, arm64
Options
endian- The parameter should be either “little” or “big”. If not used then if the target architecture has a default, that is used. Otherwise left unspecified, which causes less optimal codepaths to be used but will work on either little or big endian. · Type: string · Values: little, big
minimal- Build a minimal version · Type: boolean · Default: true
modules- Enable modules, example: {configs = {modules = {"zlib", "lzma"}}} · Type: table
python- Enable python module · Type: boolean · Default: false
tools- Build tools. · Type: boolean · Default: false
Versions
- 3.4.0
- 3.5.0
- 3.6.0
- 3.6.1
- 3.7.0
- 3.7.1
- 3.8.1
- 3.11.1
- 3.12.0
- 3.13.0
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "botan 3.13.0"show info
xrepo info "botan"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("botan 3.13.0")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("botan")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 "botan 3.13.0" shell