如何仅使用一个Boost库/文件? [英] How can I use just one boost library/file?
本文介绍了如何仅使用一个Boost库/文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
可能重复:
在Windows中构建增强功能的子集
Possible Duplicate:
Building a subset of boost in windows
I'm using Visual c++ 6.0, and I'd like to use boost::random. I can't find any examples showing how I would go about just using this and only this library. Can I just include it in my source?
推荐答案
Boost got a very nice tool called bcp which does what you want. check it out.
来自文档:
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.
这篇关于如何仅使用一个Boost库/文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文