compile_commands.json should be generated per person
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
This commit is contained in:
@@ -23,9 +23,9 @@ on the compiler itself
|
||||
|
||||
## Development
|
||||
|
||||
I use clangd as the language server. Appropriate `compile_commands.json`
|
||||
(required for clangd, otherwise it can not find include files) is provided.
|
||||
If you'd like to generate them yourself, just use cmake:
|
||||
I use clangd as the language server. If you want your include files to be handled
|
||||
correctly, you'll need to generate `compile_commands.json` yourself. You can
|
||||
do this using cmake:
|
||||
|
||||
```bash
|
||||
cd build
|
||||
@@ -33,6 +33,8 @@ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
|
||||
cp compile_commands.json ../
|
||||
```
|
||||
|
||||
After this, clangd should not give you errors on every included header.
|
||||
|
||||
## Progress
|
||||
|
||||
Woodpecker CI/CD system is integrated.
|
||||
|
Reference in New Issue
Block a user