Add vscode setup and build tasks

This commit is contained in:
DankParrot 2020-07-24 17:21:12 -07:00
parent 21fbde93d7
commit 332e6645ff
1 changed files with 44 additions and 0 deletions

44
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,44 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Meson Setup",
"type": "shell",
"command": "meson setup build",
"problemMatcher": [],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
},
{
"label": "Build",
"type": "shell",
"command": "ninja",
"args": [
"-C",
"build",
"install"
],
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "silent",
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true
}
}
]
}