- 安装依赖:
boost >= v1.75
openssl >= 1.0
- 安装 xmake 构建工具 (Install
xmake
build utility)
bash <(curl -fsSL https://xmake.io/shget.text) # curl
bash <(wget https://xmake.io/shget.text -O -) # wget
- 配置构建 (Setup and build)
xmake --mode=debug/release/releasedbg --vendor-boost=/path/to/boost --vendor-openssl=/path/to/openssl
- 安装 (Install)
xmake install -o /target/path/to/install