如何只使用一个 boost 库/文件? [复制]

2024-04-10

可能的重复:
在 Windows 中构建 boost 的子集 https://stackoverflow.com/questions/439402/building-a-subset-of-boost-in-windows

我正在使用 Visual c++ 6.0,并且我想使用增强::随机 http://www.boost.org/doc/libs/1_40_0/libs/random/index.html。我找不到任何示例来说明我将如何仅使用这个库。我可以将其包含在我的来源中吗?


Boost 有一个非常好的工具,叫做bcp http://www.boost.org/doc/libs/1_61_0/tools/bcp/doc/html/index.html这就是你想要的。一探究竟。

来自文档:

bcp boost/regex.hpp /foo

Copies boost/regex.hpp and all dependencies including the regex source code 
(in libs/regex/src) and build files (in libs/regex/build) to /foo.  Does not
copy the regex documentation,  test, or example code.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

如何只使用一个 boost 库/文件? [复制] 的相关文章

随机推荐