|
2 | 2 | "version": "2.0.0", |
3 | 3 | "tasks": [ |
4 | 4 | { |
5 | | - "label": "Configure Waf for host OS: x86", |
| 5 | + "label": "Configure Waf for Debug 32-bit", |
6 | 6 | "type": "shell", |
| 7 | + "command": "./waf configure -T debug --prefix=out/", |
7 | 8 | "problemMatcher": [], |
8 | | - "command": "./waf configure -T release --prefix=out/", |
9 | 9 | "windows": { |
10 | | - "command": "./waf.bat configure -T release --prefix=out/" |
| 10 | + "command": "./waf.bat configure -T debug --prefix=out/" |
11 | 11 | } |
12 | 12 | }, |
13 | 13 | { |
14 | | - "label": "Configure Waf for host OS: x86_64", |
| 14 | + "label": "Configure Waf for Debug 64-bit", |
15 | 15 | "type": "shell", |
| 16 | + "command": "./waf configure -T debug --64bits --prefix=out/", |
16 | 17 | "problemMatcher": [], |
17 | | - "command": "./waf configure -T release --64bits --prefix=out/", |
18 | 18 | "windows": { |
19 | | - "command": "./waf.bat configure -T release --64bits --prefix=out/" |
| 19 | + "command": "./waf.bat configure -T debug --64bits --prefix=out/" |
20 | 20 | } |
21 | 21 | }, |
22 | 22 | { |
23 | | - "label": "Configure Waf for outdated Android", |
| 23 | + "label": "Configure Waf for Debug on outdated Android", |
24 | 24 | "type": "shell", |
25 | | - "problemMatcher": [], |
26 | 25 | "command": "./waf configure -T release --android=armeabi-v7a-hard,4.9,21", |
| 26 | + "problemMatcher": [], |
27 | 27 | "windows": { |
28 | 28 | "command": "echo \"Not supported on Windows.\"" |
29 | 29 | } |
30 | 30 | }, |
31 | 31 | { |
32 | 32 | "label": "Build", |
33 | 33 | "type": "shell", |
34 | | - "problemMatcher": [], |
35 | 34 | "command": "./waf install", |
| 35 | + "problemMatcher": { |
| 36 | + "base": "$gcc", |
| 37 | + "fileLocation": ["relative", "${workspaceFolder}/build"] |
| 38 | + }, |
36 | 39 | "group": { |
37 | 40 | "kind": "build", |
38 | 41 | "isDefault": true |
| 42 | + }, |
| 43 | + "windows": { |
| 44 | + "command": "./waf.bat install", |
| 45 | + "problemMatcher": { |
| 46 | + "base": "$msCompile", |
| 47 | + "fileLocation": ["relative", "${workspaceFolder}/build"] |
| 48 | + } |
39 | 49 | } |
40 | 50 | } |
41 | 51 | ] |
|
0 commit comments