【问题标题】:Is there any way to extract compile_commands.json from MSBuild?有什么方法可以从 MSBuild 中提取 compile_commands.json 吗?
【发布时间】:2020-10-03 12:57:01
【问题描述】:

有没有办法在 Windows 上使用 MSBuild 将编译数据库提取为 compile_commands.json 文件? 基于 Cmake 的项目允许您通过以下方式调用:

CMAKE_EXPORT_COMPILE_COMMANDS=ON

如何用MSBuild解决或产生?

【问题讨论】:

标签: windows compilation


【解决方案1】:

我找到的方式--> Visual Studio 允许您通过一个名为 Sourcetrail 的插件来执行。它可以作为扩展安装。

【讨论】:

    猜你喜欢
    • 2020-08-05
    • 1970-01-01
    • 1970-01-01
    • 2022-01-25
    • 2018-08-25
    • 1970-01-01
    • 1970-01-01
    • 2022-06-12
    • 2013-03-26
    相关资源
    最近更新 更多