mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-24 07:48:50 +00:00
55 lines
1.5 KiB
JSON
55 lines
1.5 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "g++",
|
|
"args": [
|
|
"-std=c++14",
|
|
"-g",
|
|
"\"${file}\"",
|
|
"-o",
|
|
"\"${fileDirname}\\${fileBasenameNoExtension}.exe\""
|
|
]
|
|
},
|
|
"linux": {
|
|
"command": "/usr/bin/g++",
|
|
"args": [
|
|
"-std=c++14",
|
|
"-g",
|
|
"\"${file}\"",
|
|
"-o",
|
|
"\"${fileDirname}/${fileBasenameNoExtension}.exe\""
|
|
]
|
|
},
|
|
"problemMatcher": {
|
|
"owner": "cpp",
|
|
"fileLocation": [
|
|
"relative",
|
|
"."
|
|
],
|
|
"pattern": {
|
|
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
|
|
"file": 1,
|
|
"line": 2,
|
|
"column": 3,
|
|
"severity": 4,
|
|
"message": 5
|
|
}
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
}
|
|
]
|
|
}
|