drogon
Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
Latest version: 1.9.13
Add to xmake.lua
add_requires("drogon 1.9.13")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Recipe updated
- 2026-05-09T04:58:01.000Z
Platforms
- wasm: wasm32, wasm64
- msys: i386, x86_64
- mingw: i386, x86_64, arm, arm64
- windows: x86, x64, arm, arm64, arm64ec
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- bsd: i386, x86_64, arm, arm64, ppc, ppc64, ppc64el, riscv64, sparc64
- harmony: armeabi-v7a, arm64-v8a, x86, x86_64
- cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64
- iphoneos: arm64, x86_64
- macosx: x86_64, arm64
Options
c_ares- Enable async DNS query support. · Type: boolean · Default: false
cpp20- Enable c++ 20 support. · Type: boolean · Default: false
mysql- Enable mysql support. · Type: boolean · Default: false
openssl- Enable openssl support. · Type: boolean · Default: true
postgresql- Enable postgresql support. · Type: boolean · Default: false
redis- Enable redis support. · Type: boolean · Default: false
spdlog- Allow using the spdlog logging library · Type: boolean · Default: false
sqlite3- Enable sqlite3 support. · Type: boolean · Default: false
yaml- Enable yaml support. · Type: boolean · Default: false
Versions
- v1.4.1
- v1.6.0
- v1.7.1
- v1.7.3
- v1.7.5
- v1.8.0
- v1.8.1
- v1.8.2
- v1.9.1
- v1.9.3
- v1.9.4
- v1.9.5
- v1.9.6
- v1.9.8
- v1.9.9
- v1.9.10
- v1.9.11
- v1.9.12
- v1.9.13
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "drogon 1.9.13"show info
xrepo info "drogon"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("drogon 1.9.13")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("drogon")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 "drogon 1.9.13" shell