You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
134 lines
3.9 KiB
134 lines
3.9 KiB
4 months ago
|
{
|
||
|
"version": "2.0.0",
|
||
|
"shell":{
|
||
|
"task": true
|
||
|
},
|
||
|
"tasks": [
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "Build RELEASE",
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"panel": "shared"
|
||
|
},
|
||
|
"command": "make -j -s 2>&1 && make RunRelease",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "cpp",
|
||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||
|
"pattern": {
|
||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||
|
"file": 1,
|
||
|
"line": 2,
|
||
|
"column": 3,
|
||
|
"severity": 4,
|
||
|
"message": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "Build DEBUG",
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"panel": "shared"
|
||
|
},
|
||
|
"command": "make Debug -j -s 2>&1 || exit 1",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "cpp",
|
||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||
|
"pattern": {
|
||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||
|
"file": 1,
|
||
|
"line": 2,
|
||
|
"column": 3,
|
||
|
"severity": 4,
|
||
|
"message": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "Clean DEBUG",
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"panel": "shared"
|
||
|
},
|
||
|
"command": "make CleanDebug",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "cpp",
|
||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||
|
"pattern": {
|
||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||
|
"file": 1,
|
||
|
"line": 2,
|
||
|
"column": 3,
|
||
|
"severity": 4,
|
||
|
"message": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "Clean RELEASE",
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"panel": "shared"
|
||
|
},
|
||
|
"command": "make CleanRelease",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "cpp",
|
||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||
|
"pattern": {
|
||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||
|
"file": 1,
|
||
|
"line": 2,
|
||
|
"column": 3,
|
||
|
"severity": 4,
|
||
|
"message": 5
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"type": "shell",
|
||
|
"label": "Clean ALL",
|
||
|
"presentation": {
|
||
|
"reveal": "always",
|
||
|
"panel": "shared"
|
||
|
},
|
||
|
"command": "make clean",
|
||
|
"group": {
|
||
|
"kind": "build",
|
||
|
"isDefault": true
|
||
|
},
|
||
|
"problemMatcher": {
|
||
|
"owner": "cpp",
|
||
|
"fileLocation": ["relative", "${workspaceFolder}"],
|
||
|
"pattern": {
|
||
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
||
|
"file": 1,
|
||
|
"line": 2,
|
||
|
"column": 3,
|
||
|
"severity": 4,
|
||
|
"message": 5
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|