Skip to content

enhance support for clangd tooling

Christoph Cullmann requested to merge work/compile_commands into master
  1. add an option 'compile-commands-export' (default on) => will set -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON for cmake to generate the compilation database as needed for the LSP tooling of many editors

  2. add an option 'compile-commands-linking' (default off) => links the generated compilation database back to the source directory, required by a lot of clangd based tooling, too

Merge request reports