无标题文章

{

// See https://go.microsoft.com/fwlink/?LinkId=733558

// for the documentation about the tasks.json format

"version": "2.0.0",

"tasks": [

{

"taskName": "build",

"type": "shell",

"command": "make",

"args": [

""

],

"options": {

"cwd": "${workspaceRoot}/build"

},

"group": {

"kind": "build",

"isDefault": true

},

"problemMatcher": {

"owner": "cmake-build",

"fileLocation": [

"relative",

"${workspaceRoot}"

],

"pattern": {

"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",

"file": 1,

"line": 2,

"column": 3,

"severity": 4,

"message": 5

}

}

},

{

"taskName": "clean",

"type": "shell",

"command": "make",

"args": [

"clean"

],

"options": {

"cwd": "${workspaceRoot}/build"

},

"problemMatcher": [

"$gcc"

]

},

{

"taskName": "cmakeinit",

"type": "shell",

"command": "cmake",

"args": [

".."

],

"options": {

"cwd": "${workspaceRoot}/build"

}

}

]

}

你可能感兴趣的:(无标题文章)