如何建立只需要提振模块? [英] How to build boost required modules only?

查看:105
本文介绍了如何建立只需要提振模块?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚开始编译Boost C ++库。用下面的命令我发出它正在建造整个升压库,这是耗时的,并且没有必要为我的需要。

I just started compiling boost C++ libraries. With the following commands I issued it is building whole of the boost libraries, which is time consuming, and is not necessary for my need.

刚刚解压 boost_1_49_0.7z 归档和 Visual Studio 2010中的命令行工具我跑了 bootstrap.bat 和它创建的 B2 可执行文件。

Just unpacked the boost_1_49_0.7z archive and from Visual Studio 2010 command line tool I ran bootstrap.bat and it created the b2 executable.

使用这个可执行我跑 B2 --toolset = MSVC-10.0 --build型=完整的体系结构= 86的地址模型= 64级建库。

Using this executable I ran b2 --toolset=msvc-10.0 --build-type=complete architecture=x86 address-model=64 stage to build the libraries.

在这一刻我需要的是信号模块来构建。

At this moment all I need is the "signals" module to be built.

什么命令切换需要提供创建可执行引导编译并生成只有那些特定的库?

What switch commands need to be supplied to the bootstrap created executable to compile and build only those specific libraries?

推荐答案

b2.exe --help 输出以下。

- 显示 - 库显示需要Boost库列表
                          建立和安装步骤,然后退出。

- 与 - <库>编译并安装指定的<库>
                          如果使用此选项,只有库
                          使用此选项将建成规定。

也可以使用 -jX 选项编译英寸x流程提高了并行。

Also is possible to use the -jX option to compile BOOST in X processes in parallel.

这篇关于如何建立只需要提振模块?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆