dododevrai

This commit is contained in:
Guillem George 2026-02-27 22:37:08 +01:00
parent 50a77ac91d
commit 8c1fd79b3f
2 changed files with 3 additions and 24 deletions

24
.clangd
View file

@ -1,25 +1,3 @@
CompileFlags: CompileFlags:
# General flags for all files # Add: [-Wall -Wextra -Werror -pedantic -std=c++20 -Wold-style-cast]
Add: [-Wall]
# Configuration block for C++ files
---
If:
PathMatch: .*/.cc
CompileFlags:
CompilationDatabase: "cmake" CompilationDatabase: "cmake"
# Add: [
# # path to your include folder
# -I/usr/shar/include,
# # or path to your header file
# # --include=E:\path\to\your\file\file.h,
# # you can include other clang flags (clang NOT clangd!)
# -std=c++20,
# ]
# Configuration block for C files (optional)
---
If:
PathMatch: .*/.c
CompileFlags:
Add: [-std=c11]

3
lsp.md
View file

@ -26,4 +26,5 @@ Donc on va faire avec en attendant
## Update ## Update
**ÇA MARCHE** (jsp si c'est grace au clangd ou la commande cmake mais oklm) **ÇA MARCHE**
Il suffit de rappeler la commande cmake qui génèrera le `compile_commands.json`lors de la mise en place du projet