mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 06:00:10 +00:00
766be2624c
* 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
25 lines
413 B
TOML
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"
|