summaryrefslogtreecommitdiff
path: root/.lapce/gen_compile_commands.sh
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-06-30 16:35:46 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2024-06-30 16:35:46 -0400
commitcf5c94947b0220dac61780395ff99591e09d99e1 (patch)
tree73648539d3d636f6154068f6d2ec5a48b587709f /.lapce/gen_compile_commands.sh
parentc6dd02b15c838173546c3bbfe23a7d0970d5cbf2 (diff)
parentebce49925cfb0c93a0a4fc3c302f0efbf24e1409 (diff)
downloadabaddon-portaudio-cf5c94947b0220dac61780395ff99591e09d99e1.tar.gz
abaddon-portaudio-cf5c94947b0220dac61780395ff99591e09d99e1.zip
Merge branch 'master' into stages
Diffstat (limited to '.lapce/gen_compile_commands.sh')
-rwxr-xr-x.lapce/gen_compile_commands.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/.lapce/gen_compile_commands.sh b/.lapce/gen_compile_commands.sh
new file mode 100755
index 0000000..e9e7e9b
--- /dev/null
+++ b/.lapce/gen_compile_commands.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Use this script to create the compile_commands.json file.
+# This is necessary for clangd completion.
+
+cmake . -B build \
+ -DCMAKE_BUILD_TYPE=Debug \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=True \ No newline at end of file