Skip to content

Commit edb0866

Browse files
Update tasks.json
Addresses some comments by @exstrim401. These changes were made through GitHub's editor, they have not been tested.
1 parent b6de5bb commit edb0866

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

.vscode/tasks.json

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,40 +2,50 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"label": "Configure Waf for host OS: x86",
5+
"label": "Configure Waf for Debug 32-bit",
66
"type": "shell",
7+
"command": "./waf configure -T debug --prefix=out/",
78
"problemMatcher": [],
8-
"command": "./waf configure -T release --prefix=out/",
99
"windows": {
10-
"command": "./waf.bat configure -T release --prefix=out/"
10+
"command": "./waf.bat configure -T debug --prefix=out/"
1111
}
1212
},
1313
{
14-
"label": "Configure Waf for host OS: x86_64",
14+
"label": "Configure Waf for Debug 64-bit",
1515
"type": "shell",
16+
"command": "./waf configure -T debug --64bits --prefix=out/",
1617
"problemMatcher": [],
17-
"command": "./waf configure -T release --64bits --prefix=out/",
1818
"windows": {
19-
"command": "./waf.bat configure -T release --64bits --prefix=out/"
19+
"command": "./waf.bat configure -T debug --64bits --prefix=out/"
2020
}
2121
},
2222
{
23-
"label": "Configure Waf for outdated Android",
23+
"label": "Configure Waf for Debug on outdated Android",
2424
"type": "shell",
25-
"problemMatcher": [],
2625
"command": "./waf configure -T release --android=armeabi-v7a-hard,4.9,21",
26+
"problemMatcher": [],
2727
"windows": {
2828
"command": "echo \"Not supported on Windows.\""
2929
}
3030
},
3131
{
3232
"label": "Build",
3333
"type": "shell",
34-
"problemMatcher": [],
3534
"command": "./waf install",
35+
"problemMatcher": {
36+
"base": "$gcc",
37+
"fileLocation": ["relative", "${workspaceFolder}/build"]
38+
},
3639
"group": {
3740
"kind": "build",
3841
"isDefault": true
42+
},
43+
"windows": {
44+
"command": "./waf.bat install",
45+
"problemMatcher": {
46+
"base": "$msCompile",
47+
"fileLocation": ["relative", "${workspaceFolder}/build"]
48+
}
3949
}
4050
}
4151
]

0 commit comments

Comments
 (0)