mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
Add a new Makefile target 'compdb' to create the compilation database 'compile_commands.json' [1]. This file can then be used by the language server 'clangd' [2], which is a possible backend for the so called 'Language Server Protocol' (LSP) [3] used by many IDEs and editors. In addition, add this file to `.gitignore`. [1] https://clang.llvm.org/docs/JSONCompilationDatabase.html [2] https://clangd.llvm.org/ [3] https://microsoft.github.io/language-server-protocol/ Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
16 KiB
16 KiB