forked from prestonbrown/helixscreen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.clangd
More file actions
44 lines (42 loc) · 1.06 KB
/
Copy path.clangd
File metadata and controls
44 lines (42 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
CompileFlags:
Add:
# Project includes
- -I.
- -Iinclude
- -Itests
# Library includes - order matters for resolution
- -Ilib
- -Ilib/lvgl
- -Ilib/lvgl/src
- -Ilib/libhv
- -Ilib/libhv/include
- -Ilib/libhv/cpputil
- -Ilib/spdlog/include
- -Ilib/glm
- -Ilib/stb
- -Ilib/wpa_supplicant/src/common
- -Ilib/wpa_supplicant/src/utils
# SDL2 includes
- -Ilib/sdl2/include
- -Ilib/sdl2/include/SDL2
# System includes (macOS homebrew fallback)
- -I/opt/homebrew/include
- -I/opt/homebrew/include/SDL2
# Required defines
- -DLV_CONF_INCLUDE_SIMPLE
- -DLV_LVGL_H_INCLUDE_SIMPLE
- -DHELIX_DISPLAY_SDL
# NOTE: Don't add -std=c++17 here - compile_commands.json has correct per-file standards
# (C files use -std=c11, C++ files use -std=c++17)
---
# Suppress diagnostics in third-party library code
If:
PathMatch: lib/.*
Diagnostics:
Suppress: "*"
---
# Suppress unused-includes in files with heavy macro usage
If:
PathMatch: src/ui/ui_wizard.cpp
Diagnostics:
UnusedIncludes: None