提物/建筑增压program_options [英] extractin/building boost program_options
问题描述
我已经成功安装了提升,编译的二进制文件,并建立BCP。我也一直能够提取使用bcp正则表达式库。这样做之后,我发现在
I have successfully installed boost, compiled binaries, and built bcp. I have also been able to extract the regex library using bcp. After doing this, I found a gcc_gen.sh script and bunch of makefiles under
my_exported_boost_regex /库/正则表达式/编译/
和使用其中的一个,以
my_exported_boost_regex/libs/regex/build/gcc/libboost_regex-gcc-1_43.a
这是我在code使用图书馆和一切伟大工程。
This is the library I use in my code and everything works great.
现在我想做同样的事情program_options但之后,我提取使用bcp的所有文件,我很困惑,下一步该怎么做。在
Now I want to do the same thing for program_options but after I extract all the files using bcp, I'm confused as to what to do next. The only file available under
my_exported_boost_program_options /库/ program_options /编译/
是 Jamfile.v2
,我不能为我的生活弄清楚如何使用它来构建二进制。在我看来,东西在这里失踪。
is Jamfile.v2
and I can't for the life of me figure out how to use that to build the binary. It seems to me something is missing here.
鸭preciate你的帮助。
谢谢,
Appreciate your help. Thanks,
Ĵ
推荐答案
我终于想通了,我除了我在BCP通话这样的兴趣库中包括建:
I finally figured out that I have to include "build" in addition to my libraries of interest in the bcp call like this:
bcp program_options build ../my_exported_boost_program_options/
这显然是把适当的bjam配置文件中导出目录,然后我可以从该目录中调用的bjam和建立我出口库。
This apparently places the appropriate bjam config files in the exported dir and I can then call bjam from that directory and build my exported libs.
Ĵ
这篇关于提物/建筑增压program_options的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!