Advertisement
Guest User

Untitled

a guest
Jan 19th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.17 KB | None | 0 0
  1. {
  2.    "version":"2.0.0",
  3.    "tasks":[
  4.       {
  5.          "label":"debug",
  6.          "type":"shell",
  7.          "command":"",
  8.          "args":[
  9.             "g++",
  10.             "-g",
  11.             "${relativeFile}",
  12.             "-o",
  13.             "a.exe"
  14.          ]
  15.       },
  16.       {
  17.          "label":"Compile and run",
  18.          "type":"shell",
  19.          "command":"",
  20.          "args":[
  21.             "g++",
  22.             "-g",
  23.             "${relativeFile}",
  24.             "-o",
  25.             "${fileBasenameNoExtension}.out",
  26.             "&&",
  27.             "clear",
  28.             "&&",
  29.             "./${fileBasenameNoExtension}.out"
  30.          ],
  31.          "group":{
  32.             "kind":"build",
  33.             "isDefault":true
  34.          },
  35.          "problemMatcher":{
  36.             "owner":"cpp",
  37.             "fileLocation":[
  38.                "relative",
  39.                "${workspaceRoot}"
  40.             ],
  41.             "pattern":{
  42.                "regexp":"^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
  43.                "file":1,
  44.                "line":2,
  45.                "column":3,
  46.                "severity":4,
  47.                "message":5
  48.             }
  49.          }
  50.       },
  51.  
  52.    ]
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement