Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "version":"2.0.0",
- "tasks":[
- {
- "label":"debug",
- "type":"shell",
- "command":"",
- "args":[
- "g++",
- "-g",
- "${relativeFile}",
- "-o",
- "a.exe"
- ]
- },
- {
- "label":"Compile and run",
- "type":"shell",
- "command":"",
- "args":[
- "g++",
- "-g",
- "${relativeFile}",
- "-o",
- "${fileBasenameNoExtension}.out",
- "&&",
- "clear",
- "&&",
- "./${fileBasenameNoExtension}.out"
- ],
- "group":{
- "kind":"build",
- "isDefault":true
- },
- "problemMatcher":{
- "owner":"cpp",
- "fileLocation":[
- "relative",
- "${workspaceRoot}"
- ],
- "pattern":{
- "regexp":"^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
- "file":1,
- "line":2,
- "column":3,
- "severity":4,
- "message":5
- }
- }
- },
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement