summaryrefslogtreecommitdiff
path: root/.lapce/run.toml
diff options
context:
space:
mode:
Diffstat (limited to '.lapce/run.toml')
-rw-r--r--.lapce/run.toml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.lapce/run.toml b/.lapce/run.toml
new file mode 100644
index 0000000..a309b78
--- /dev/null
+++ b/.lapce/run.toml
@@ -0,0 +1,24 @@
+# The run config is used for both run mode and debug mode
+
+[[configs]]
+name = "cmake-debug"
+program = "sh"
+args = [".lapce/gen_compile_commands.sh"]
+
+[configs.env]
+CC = "/usr/bin/clang"
+CXX = "/usr/bin/clang++"
+
+[[configs]]
+name = "cmake"
+program = "cmake"
+args = ["--build", "build"]
+
+[configs.env]
+CC = "/usr/bin/clang"
+CXX = "/usr/bin/clang++"
+
+[[configs]]
+name = "run"
+type = "lldb"
+program = "build/abaddon"