clangd include dir

This commit is contained in:
Christoph J. Scherr 2023-10-18 10:40:27 +02:00
parent e8987e930f
commit ccf325d8fb
2 changed files with 7 additions and 0 deletions

2
.clangd Normal file
View File

@ -0,0 +1,2 @@
CompileFlags:
Add: -I/home/plex/Documents/code/cpp/glsl-basic/include

View File

@ -17,3 +17,8 @@ Optional, but recommended Packages:
```bash ```bash
sudo dnf install glfw-devel glfw glfw-doc glad sudo dnf install glfw-devel glfw glfw-doc glad
``` ```
## Syntax stuff
Your editor might need help to find the `include/` directory. If you are using
clangd, you can use the `.clangd` file in this repo. Just adjust the path to
what you need (it needs to be absolute).