Lsp-Mode的ccls有个疑问,compile_commands.json刚开始不存在时怎么建立工程的。

How to generate a JSON Compilation Database?

  • Build systems and compilers

    • Bazel
    • Clang
    • CMake
    • Ninja
    • Qbs
    • waf
  • Specialized tools

    • bear and intercept-build
    • cdcd
    • CodeChecker log
    • compdb
    • compiledb-generator
    • Sourcetrail Extension for Visual Studio
    • sw-btrace
    • tee3/commands_to_compilation_database
    • xcpretty

看你用的是哪一种构建工具。

1 个赞