【问题标题】:How to compile Boost.Log standalone如何独立编译 Boost.Log
【发布时间】:2012-03-07 23:01:09
【问题描述】:

在对 Stack Overflow 进行了一些研究后,我决定尝试一下 Andrey Semashev 的 Boost.Log 库。

不幸的是,构建 Boost.Log 库 I have to place it in the Boost source tree 并像它是 Boost 的一部分一样编译。这对我来说是一个障碍,因为我已经有一些复杂的建筑配置。 我想独立构建 Boost.Log。

我找到了interesting thread on Boost.Log forum,但是这个方法对我不起作用。

【问题讨论】:

  • 只需获取整个 Boost 并将树解压缩到任意位置,然后构建它 --with-log 。它不会影响您的“复杂的构建配置”。

标签: c++ boost boost-build boost-log


【解决方案1】:

我可能建议您考虑使用 cpplog,而不是使用 Boost.Log:https://github.com/andrew-d/cpplog

这是一个基于 Google 日志库的仅标头库。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-03-11
    • 2012-06-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-04-08
    • 1970-01-01
    相关资源
    最近更新 更多