Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akhodeir authored Jun 21, 2024
1 parent f53339c commit 42ab974
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,37 @@ settings.json
}
```
tasks.json
```
{
"label": "mybuild",
"type": "shell",
"command": "mkdir -p ${workspaceFolder}/output; make ABCD 2>&1 | tee ${workspaceFolder}/output/build_log",
"options": {
"cwd": "${workspaceFolder}/path1"
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": [
"relative",
"${workspaceFolder}/path2"
],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error|fatal error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
},
"presentation": {
"panel": "dedicated",
"clear": true
},
},
}
```

important reference : https://sarcasm.github.io/notes/dev/compilation-database.html#text-editors-and-ides

0 comments on commit 42ab974

Please sign in to comment.