Skip to content

Commit 92f5088

Browse files
committed
build: add clangd configuration to improve ide intellesense
1 parent 79354b2 commit 92f5088

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.clangd

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# this file is added mainly for intellisense purposes
2+
If:
3+
PathMatch: .*\.h
4+
CompileFlags:
5+
Add:
6+
- -DLOCAL
7+
- -Wall
8+
- -O2
9+
- -Wextra
10+
- -Wshadow
11+
- -Wconversion
12+
- -Wfloat-equal
13+
- -Wno-unused-const-variable
14+
- -Wno-sign-conversion
15+
- -std=c++17
16+
- -I./dist/bin/libs/api/proto
17+
- -I./libs/api/include
18+
- -I./libs/core/include
19+
- -I./libs/std/include
20+
Index:
21+
Background: Skip

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,4 @@ venv/
4343
settings.json
4444
.firebase
4545
.envrc
46+
compile_commands.json

0 commit comments

Comments
 (0)