aboutsummaryrefslogtreecommitdiffstats
path: root/.clangd
diff options
context:
space:
mode:
Diffstat (limited to '.clangd')
-rw-r--r--.clangd10
1 files changed, 10 insertions, 0 deletions
diff --git a/.clangd b/.clangd
new file mode 100644
index 0000000..030d130
--- /dev/null
+++ b/.clangd
@@ -0,0 +1,10 @@
+# Point clangd at Meson's compile database (generated in builddir/ by
+# `meson setup`/`meson compile`). This gives it -Isrc, the vendored third_party
+# include dirs, and the /usr/local + system include paths the build uses, so
+# project headers, SDL3, ImGui and stb resolve.
+#
+# glm, sol2 and Box2D headers come from /usr/local/include in the container
+# build. For clangd on the host to resolve them too, install their dev headers
+# on the host (see README, "Local (Arch Linux)"): pacman glm box2d, AUR sol2.
+CompileFlags:
+ CompilationDatabase: builddir