abaddon/.lapce/run.toml
Gustavo Ramos Rehermann 766be2624c
Add compile_commands.json CMake script, and Lapce runners (#302)
* Add Lapce runner to run CMake

This is necessary to generate the compile_commands.json file which
clangd uses to be able to load libaries like gtkmm.

* Move compile_commands generation script into separate file

* Add more Lapce run settings

* Set execute bit on gen_compile_commands.sh

* Move Lapce run files to .lapce
2024-06-26 16:41:11 -04:00

25 lines
413 B
TOML

# 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"