如何解码boost库命名?

我试图找出gd意思是提升库名,我只find另外两个人在寻找同样的东西。

我想这应该是一个地方,这是明确logging,我想find它。

  • mt – multithreading,用bjam threading=multi
  • sbjam runtime-link=static
  • g – 使用标准和运行时支持库的debugging版本。 什么BJAM切换?
  • d – debug bjam variant=debug

更新

我如何控制bjam开关控制上述变体? 实际上,我唯一无法辨认的就是g

请参阅Boost入门窗口第6.3节命名和Unix命名第6.1节

处理-mt和d的是

 -mt Threading tag: indicates that the library was built with multithreading support enabled. Libraries built without multithreading support can be identified by the absence of `-mt`. -d ABI tag: encodes details that affect the library's interoperability with other compiled code. For each such feature, a single letter is added to the tag as listed in this table: Key Use this library when (Boost.Build option) s linking statically to the C++ standard library and compiler runtime support libraries. (runtime-link=static) g using debug versions of the standard and runtime support libraries. (runtime-debugging=on) y using a special debug build of Python. (python-debugging=on) d building a debug version of your code. (variant=debug) p using the STLPort standard library rather than the default one supplied with your compiler. (stdlib=stlport) 

http://www.boost.org/doc/libs/1_35_0/more/getting_started/windows.html#library-naming的Boost文档中,约定是:;

-mt线程标记:表示该库是在启用multithreading支持的情况下构build的。 没有multithreading支持的程序库可以通过缺less-mt来识别。

-d ABI标记:对影响库与其他编译代码的互操作性的细节进行编码。 对于每个这样的function,单个字母被添加到标签:

密钥在以下情况下使用此库
 s静态链接到C ++标准库和编译器运行时支持库。
 g使用标准和运行时支持库的debugging版本。
使用Python的特殊debugging版本。
 d构build代码的debugging版本。
 p使用STLPort标准库而不是编译器提供的默认库。
 n使用STLPort弃用的“本地iostreams”function。

例如,如果构build代码的debugging版本,以便在“本机iostreams”模式下与静态运行时库和STLPort标准库的debugging版本一起使用,则标记将为:-sgdpn。 如果以上都不适用,则省略ABI标签。

BBv2文档(请参阅内置function部件 )中介绍了基本的内置function集,这些function部件是您在命令行中指定的(function=值)。 我不知道我们是否已经在即将发布的1.43版本中更新入门指南,但是有一个出色的文档更改,可以将这些内置的选项说明添加到入门指南中,以便更快地访问。