mirror of
https://github.com/uowuo/abaddon.git
synced 2025-03-04 03:03:16 -05:00

* 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
7 lines
200 B
Bash
Executable File
7 lines
200 B
Bash
Executable File
#!/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 |