C++ 14 发布于 Boost 1.18.0
本次发布
依赖项
Boost 图库
===================
使用 C++ 模板实现图遍历的通用接口。
完整文档可在 boost.org 获取。
支持、错误和功能请求
Bug 和功能请求可以通过 Github 问题页面 报告。
另请参阅
您可以通过 pull request 提交您的更改。维护人员之一会进行查看(请记住这可能需要一些时间)。
没有专门针对 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
您还可以查看 回归测试报告。