Skip to content

Commit

Permalink
vscode: Add a workspace file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Martins committed Feb 24, 2021
1 parent 83425dc commit 6633a2d
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions code.dev.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"folders": [
{
"path": "."
}
],
"settings": {
"C_Cpp.default.compileCommands": "${workspaceFolder}/build-dev/compile_commands.json",
"C_Cpp.default.cStandard": "c17",
"files.trimTrailingWhitespace": true,
"editor.formatOnType": true
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "cmake",
"command": "cmake",
"args": [
"--preset=dev"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build"
},
{
"type": "shell",
"label": "make",
"command": "cmake",
"args": [
"--build",
"${workspaceFolder}/build-dev"
],
"options": {
"cwd": "${workspaceFolder}/"
},
"group": "build"
}
]
}
}

0 comments on commit 6633a2d

Please sign in to comment.