Home | History | Annotate | Download | only in .vscode
      1 {
      2     // See https://go.microsoft.com/fwlink/?LinkId=733558
      3     // for the documentation about the tasks.json format
      4 
      5     // Available variables which can be used inside of strings.
      6     // ${workspaceRoot}: the root folder of the team
      7     // ${file}: the current opened file
      8     // ${fileBasename}: the current opened file's basename
      9     // ${fileDirname}: the current opened file's dirname
     10     // ${fileExtname}: the current opened file's extension
     11     // ${cwd}: the current working directory of the spawned process
     12 
     13     "version": "0.1.0",
     14     "command": "sh",
     15     "isShellCommand": true,
     16     "args": ["-c"],
     17     "showOutput": "always",
     18     "suppressTaskName": true,
     19     "options": {
     20         "cwd": "${workspaceRoot}/debug"
     21     },
     22     "tasks": [
     23         {
     24             "taskName": "cmake",
     25             "args": ["cmake ."]
     26         },
     27         {
     28             "taskName": "make",
     29             "args" : ["make -j4"],
     30             "isBuildCommand": true,
     31             "problemMatcher": {
     32                 "owner": "cpp",
     33                 "fileLocation": "absolute",
     34                 "pattern": {
     35                     "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
     36                     "file": 1,
     37                     "line": 2,
     38                     "column": 3,
     39                     "severity": 4,
     40                     "message": 5
     41                 }
     42             }
     43         }
     44     ]
     45 }