diff --git a/.clangd b/.clangd new file mode 100644 index 0000000..b389b3f --- /dev/null +++ b/.clangd @@ -0,0 +1,2 @@ +CompileFlags: + Add: -I/home/plex/Documents/code/cpp/glsl-basic/include diff --git a/README.md b/README.md index 6e97fb1..54cd750 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,8 @@ Optional, but recommended Packages: ```bash 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).