1// task.json
2// add this line (with your path) '"-Ipath/to/my/include/files",' to first line in "args"[]
3// example:
4{
5 "version": "2.0.0"
6 "tasks": [
7 {
8 //...
9 "args": [
10 "-I${workspaceFolder}\\Headers",
11 "-g",
12 "${file}",
13 "-o",
14 "${fileDirname}\\${fileBasenameNoExtension}.exe"
15 ],
16 //...
17 "options": {
18 "cwd": "${fileDirname}"
19 },
20 "problemMatcher": [
21 "$gcc"
22 ],
23 "group": {
24 "kind": "build",
25 "isDefault": true
26 },
27 "detail": "Task generated by Debugger."
28 }
29 ],
30}