Setup VS Code build tasks.

This commit is contained in:
Bartosz Taudul 2022-04-24 15:47:42 +02:00
parent 2dd61aba49
commit 3b33a49bd8
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

66
.vscode/tasks.json vendored
View File

@ -4,17 +4,73 @@
"version": "2.0.0",
"tasks": [
{
"label": "Build Profiler",
"label": "Build Profiler GUI",
"type": "shell",
"command": "make debug -C profiler/build/unix -j 24",
"problemMatcher": {
"base": "$gcc",
"fileLocation": ["relative", "${workspaceRoot}/profiler/build/unix"]
"command": "make debug -C profiler/build/unix -j `nproc`",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"close": true
}
},
{
"label": "Build capture tool",
"type": "shell",
"command": "make debug -C capture/build/unix -j `nproc`",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"close": true
}
},
{
"label": "Build csvexport tool",
"type": "shell",
"command": "make debug -C csvexport/build/unix -j `nproc`",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"close": true
}
},
{
"label": "Build import-chrome tool",
"type": "shell",
"command": "make debug -C import-chrome/build/unix -j `nproc`",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build update tool",
"type": "shell",
"command": "make debug -C update/build/unix -j `nproc`",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"close": true
}
},
{
"label": "Build client library",
"type": "shell",
"command": "make debug -C library/unix -j `nproc`",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"close": true
}
}
]
}