Skip to content

Commit 306d033

Browse files
clangd support for our stack: credit goes to nate (#2528)
* credit goes to nate * fixed spelling mistake
1 parent a3e7a8e commit 306d033

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

.clangd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
CompileFlags:
2-
CompilationDatabase: build-release-debug/
2+
CompilationDatabase: build/

colcon_defaults.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
build:
2+
cmake-args:
3+
- -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4+
- -DCMAKE_C_COMPILER_LAUNCHER=ccache
5+
- -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
6+
parallel-workers: 2
7+
event-handlers:
8+
- "console_cohesion+"
9+
10+
test:
11+
event-handlers:
12+
- "console_cohesion+"

0 commit comments

Comments
 (0)