-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
39 changed files
with
910 additions
and
294 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build/compile_commands.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.