From ccf325d8fbba68f5f43124690ffd9657f1a3deb8 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 18 Oct 2023 10:40:27 +0200 Subject: [PATCH] clangd include dir --- .clangd | 2 ++ README.md | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 .clangd 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).