summaryrefslogtreecommitdiff
path: root/GenClangd.py
diff options
context:
space:
mode:
authorPhysick <96335032+DegustatorPonos@users.noreply.github.com>2025-12-18 16:37:25 +0500
committerPhysick <96335032+DegustatorPonos@users.noreply.github.com>2025-12-18 16:37:25 +0500
commitdf6f89abeab60e91a348484cdceadb758290f234 (patch)
treee666933a0906cf80d063e71c6ac3c62827f8a5db /GenClangd.py
Template init
Diffstat (limited to 'GenClangd.py')
-rw-r--r--GenClangd.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/GenClangd.py b/GenClangd.py
new file mode 100644
index 0000000..7616559
--- /dev/null
+++ b/GenClangd.py
@@ -0,0 +1,6 @@
+import os
+
+if __name__ == "__main__":
+ path = os.getcwd()
+ with open(".clangd", "w") as file:
+ file.write("CompileFlags:\n Add: -I"+path+"/libopencm3/include\n")