Skip to content

Commit

Permalink
vscode: Add hard-coded path to compile_commands.json
Browse files Browse the repository at this point in the history
When run from Windows via WSL, VS Code just won't find the
`compile_commands.json` otherwise.
  • Loading branch information
maribu committed Feb 22, 2024
1 parent d83ec63 commit fb4c388
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"configurations": [
{
"name": "RIOT",
"cStandard": "c11",
"cppStandard": "c++17",
"compileCommands": "${workspaceFolder}/compile_commands.json"
}
],
"version": 4
}

0 comments on commit fb4c388

Please sign in to comment.