C++ 14 添加于 Boost 1.18.0
本次发布
依赖项
Boost 图形库
===================
使用 C++ 模板的遍历图形的通用接口。
完整的文档可在 boost.org 上找到。
支持、错误和功能请求
可以通过 Github 问题页面 报告 Bug 和功能请求。
另请参阅
您可以通过 拉取请求 提交您的更改。其中一位维护者会查看(请记住,这可能需要一些时间)。
没有专门针对 Boost Graph 的邮件列表,但您可以使用通用 Boost 邮件列表,并使用标签 [graph]。
构建状态
| 主分支 | 开发分支 | |
|---|---|---|
| Github Actions | ||
| Drone |
开发
克隆整个 boost 项目,其中包含各个 Boost 项目作为子模块(参见 boost+git 文档)。
git clone https://github.com/boostorg/boost
cd boost
git submodule update --init
Boost Graph Library 位于 libs/graph/。
Boost Graph Library 大部分是头文件,但也包含一些编译组件。以下是构建命令
./bootstrap.sh <- compile b2
./b2 headers <- just installs headers
./b2 <- build compiled components
注意: Boost Graph Library 目前无法在 Boost 自身之外进行构建。
运行测试
首先,请确保您位于 libs/graph/test。您可以运行 Jamfile.v2 中列出的全部 300 多个测试,也可以运行单个测试
../../../b2 <- run all tests
../../../b2 cycle_canceling_test <- single test
您还可以查看 回归测试报告。