Add CMake option C3_ENABLE_CLANGD_LSP (#1414)

* CMake option C3_ENABLE_CLANGD_LSP

The CMake option enables the generation of compile_commands.json in
the build directory and the creation of a symlink in the root
directory targeting the new file,
this will allow the Clangd Language Server Protocol (LSP) to
function properly.

* Added .editorconfig

EditorConfig helps maintain consistent coding styles:
https://editorconfig.org/
This commit is contained in:
id3nom
2024-09-06 17:06:09 -04:00
committed by GitHub
parent 1cb91c0ac9
commit 15aca2eb84
3 changed files with 44 additions and 0 deletions

5
.gitignore vendored
View File

@@ -70,3 +70,8 @@ out/
# Emacs files
TAGS
# Clangd LSP files
/.cache/
/compile_commands.json