为什么的bjam似乎忽略了我的论点? [英] Why does bjam seem to ignore my arguments?

查看:241
本文介绍了为什么的bjam似乎忽略了我的论点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图构建的bjam boost.lib,但无论我做什么,我不能让它认我的 BOOST_LOG_NO_COMPILER_TLS 标记。我建立这样的:

I'm trying to build boost.lib with bjam, but no matter what I do, I can't get it to recognise my BOOST_LOG_NO_COMPILER_TLS flag. I'm building like this:

bjam address-model=32 --toolset=msvc-10.0 --build-type=complete 
  --with-log variant=debug link=static runtime-link=static   
  define=BOOST_LOG_NO_COMPILER_TLS stage

要验证它是否忽略了国旗,我没有这个标志编译和使用超越比较来比较的阶段文件夹中生成的每个文件。

To verify that it's ignoring the flag, I compiled with and without this flag and used Beyond Compare to compare each file generated in the stage folder.

所有的lib文件是相同的。我希望如果差异是的bjam我承认定义字段。

All of the lib files were identical. I would expect differences if bjam was recognising my define fields.

我是新来推动和bjam的,所以我做错了什么?

I'm new to boost and bjam, so am I doing something wrong?

推荐答案

事实证明,它实际上并没有重新编译的东西,即使我指定的 - 构建型=完整

It turns out that it wasn't actually recompiling stuff, even though I specified --build-type=complete.

如果你在你的 bin.v2 文件夹的东西,它不会覆盖它。可以删除 bin.v2 文件夹或指定其他一些未知的神奇参数的bjam。

If you have stuff in your bin.v2 folder, it won't overwrite it. Either delete the bin.v2 folder or specify some other unknown magical parameter to bjam.

这篇关于为什么的bjam似乎忽略了我的论点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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