63 lines
1.6 KiB
JSON
63 lines
1.6 KiB
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "client_build",
|
|
"type": "shell",
|
|
"command": ".\\tools\\buildspark.cmd",
|
|
"problemMatcher":"$msCompile",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "server_build",
|
|
"type": "shell",
|
|
"command": ".\\tools\\buildsparkd.cmd",
|
|
"problemMatcher": {
|
|
"base": "$gcc",
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"relative",
|
|
"${workspaceFolder}"
|
|
],
|
|
"pattern": {
|
|
"regexp": "(.?)(home)(.?)(bts)(.?)(spark)(.?)(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)",
|
|
"file": 8,
|
|
"line": 9,
|
|
"column": 10,
|
|
"severity": 11,
|
|
"message": 12
|
|
}
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "new"
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "linux build (Debug)",
|
|
"type": "shell",
|
|
"command": "cd build/ninja_debug; time ninja",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
]
|
|
}
|
|
]
|
|
} |