|
4 | 4 | {
|
5 | 5 | "type": "shell",
|
6 | 6 | "label": "Clean",
|
7 |
| - "command": "make -f ${workspaceFolder}/platforms/linux/Makefile clean", |
| 7 | + "linux": { |
| 8 | + "command": "make -f ${workspaceFolder}/platforms/linux/Makefile clean", |
| 9 | + "options": { |
| 10 | + "cwd": "${workspaceFolder}/platforms/linux" |
| 11 | + }, |
| 12 | + "problemMatcher": [ |
| 13 | + { |
| 14 | + "base": "$gcc", |
| 15 | + "fileLocation": [ |
| 16 | + "relative", |
| 17 | + "${workspaceFolder}/platforms/linux" |
| 18 | + ] |
| 19 | + } |
| 20 | + ], |
| 21 | + }, |
| 22 | + "osx": { |
| 23 | + "command": "make -f ${workspaceFolder}/platforms/macos/Makefile clean", |
| 24 | + "options": { |
| 25 | + "cwd": "${workspaceFolder}/platforms/macos" |
| 26 | + }, |
| 27 | + "problemMatcher": [ |
| 28 | + { |
| 29 | + "base": "$gcc", |
| 30 | + "fileLocation": [ |
| 31 | + "relative", |
| 32 | + "${workspaceFolder}/platforms/macos" |
| 33 | + ] |
| 34 | + } |
| 35 | + ], |
| 36 | + }, |
8 | 37 | "presentation": {
|
9 | 38 | "reveal": "silent",
|
10 | 39 | "panel": "dedicated",
|
|
13 | 42 | "clear": true,
|
14 | 43 | "revealProblems": "onProblem"
|
15 | 44 | },
|
16 |
| - "options": { |
17 |
| - "cwd": "${workspaceFolder}/platforms/linux" |
18 |
| - }, |
19 |
| - "problemMatcher": [ |
20 |
| - { |
21 |
| - "base": "$gcc", |
22 |
| - "fileLocation": [ |
23 |
| - "relative", |
24 |
| - "${workspaceFolder}/platforms/linux" |
25 |
| - ] |
26 |
| - } |
27 |
| - ], |
28 | 45 | "group": "build"
|
29 | 46 | },
|
30 | 47 | {
|
31 | 48 | "type": "shell",
|
32 | 49 | "label": "Build (RELEASE)",
|
33 |
| - "command": "make -j8 -f ${workspaceFolder}/platforms/linux/Makefile", |
| 50 | + "linux": { |
| 51 | + "command": "make -j10 -f ${workspaceFolder}/platforms/linux/Makefile", |
| 52 | + "options": { |
| 53 | + "cwd": "${workspaceFolder}/platforms/linux" |
| 54 | + }, |
| 55 | + "problemMatcher": [ |
| 56 | + { |
| 57 | + "base": "$gcc", |
| 58 | + "fileLocation": [ |
| 59 | + "relative", |
| 60 | + "${workspaceFolder}/platforms/linux" |
| 61 | + ] |
| 62 | + } |
| 63 | + ], |
| 64 | + }, |
| 65 | + "osx": { |
| 66 | + "command": "make -j10 -f ${workspaceFolder}/platforms/macos/Makefile", |
| 67 | + "options": { |
| 68 | + "cwd": "${workspaceFolder}/platforms/macos" |
| 69 | + }, |
| 70 | + "problemMatcher": [ |
| 71 | + { |
| 72 | + "base": "$gcc", |
| 73 | + "fileLocation": [ |
| 74 | + "relative", |
| 75 | + "${workspaceFolder}/platforms/macos" |
| 76 | + ] |
| 77 | + } |
| 78 | + ], |
| 79 | + }, |
34 | 80 | "presentation": {
|
35 | 81 | "reveal": "silent",
|
36 | 82 | "panel": "dedicated",
|
37 | 83 | "showReuseMessage": false,
|
38 | 84 | "close": false,
|
39 | 85 | "clear": true
|
40 | 86 | },
|
41 |
| - "options": { |
42 |
| - "cwd": "${workspaceFolder}/platforms/linux" |
43 |
| - }, |
44 |
| - "problemMatcher": [ |
45 |
| - { |
46 |
| - "base": "$gcc", |
47 |
| - "fileLocation": [ |
48 |
| - "relative", |
49 |
| - "${workspaceFolder}/platforms/linux" |
50 |
| - ] |
51 |
| - } |
52 |
| - ], |
53 | 87 | "group": "build"
|
54 | 88 | },
|
55 | 89 | {
|
56 | 90 | "type": "shell",
|
57 | 91 | "label": "Clean + Build (RELEASE)",
|
58 |
| - "command": "make -j8 -f ${workspaceFolder}/platforms/linux/Makefile", |
| 92 | + "linux": { |
| 93 | + "command": "make -j10 -f ${workspaceFolder}/platforms/linux/Makefile", |
| 94 | + "options": { |
| 95 | + "cwd": "${workspaceFolder}/platforms/linux" |
| 96 | + }, |
| 97 | + "problemMatcher": [ |
| 98 | + { |
| 99 | + "base": "$gcc", |
| 100 | + "fileLocation": [ |
| 101 | + "relative", |
| 102 | + "${workspaceFolder}/platforms/linux" |
| 103 | + ] |
| 104 | + } |
| 105 | + ], |
| 106 | + }, |
| 107 | + "osx": { |
| 108 | + "command": "make -j10 -f ${workspaceFolder}/platforms/macos/Makefile", |
| 109 | + "options": { |
| 110 | + "cwd": "${workspaceFolder}/platforms/macos" |
| 111 | + }, |
| 112 | + "problemMatcher": [ |
| 113 | + { |
| 114 | + "base": "$gcc", |
| 115 | + "fileLocation": [ |
| 116 | + "relative", |
| 117 | + "${workspaceFolder}/platforms/macos" |
| 118 | + ] |
| 119 | + } |
| 120 | + ], |
| 121 | + }, |
59 | 122 | "presentation": {
|
60 | 123 | "reveal": "silent",
|
61 | 124 | "panel": "dedicated",
|
|
64 | 127 | "clear": true,
|
65 | 128 | "revealProblems": "onProblem"
|
66 | 129 | },
|
67 |
| - "options": { |
68 |
| - "cwd": "${workspaceFolder}/platforms/linux" |
69 |
| - }, |
70 |
| - "problemMatcher": [ |
71 |
| - { |
72 |
| - "base": "$gcc", |
73 |
| - "fileLocation": [ |
74 |
| - "relative", |
75 |
| - "${workspaceFolder}/platforms/linux" |
76 |
| - ] |
77 |
| - } |
78 |
| - ], |
79 | 130 | "group": "build",
|
80 | 131 | "dependsOn": "Clean"
|
81 | 132 | },
|
82 | 133 | {
|
83 | 134 | "type": "shell",
|
84 | 135 | "label": "Build (DEBUG)",
|
85 |
| - "command": "make -j8 -f ${workspaceFolder}/platforms/linux/Makefile DEBUG=1", |
| 136 | + "linux": { |
| 137 | + "command": "make -j10 -f ${workspaceFolder}/platforms/linux/Makefile DEBUG=1", |
| 138 | + "options": { |
| 139 | + "cwd": "${workspaceFolder}/platforms/linux" |
| 140 | + }, |
| 141 | + "problemMatcher": [ |
| 142 | + { |
| 143 | + "base": "$gcc", |
| 144 | + "fileLocation": [ |
| 145 | + "relative", |
| 146 | + "${workspaceFolder}/platforms/linux" |
| 147 | + ] |
| 148 | + } |
| 149 | + ], |
| 150 | + }, |
| 151 | + "osx": { |
| 152 | + "command": "make -j10 -f ${workspaceFolder}/platforms/macos/Makefile DEBUG=1", |
| 153 | + "options": { |
| 154 | + "cwd": "${workspaceFolder}/platforms/macos" |
| 155 | + }, |
| 156 | + "problemMatcher": [ |
| 157 | + { |
| 158 | + "base": "$gcc", |
| 159 | + "fileLocation": [ |
| 160 | + "relative", |
| 161 | + "${workspaceFolder}/platforms/macos" |
| 162 | + ] |
| 163 | + } |
| 164 | + ], |
| 165 | + }, |
86 | 166 | "presentation": {
|
87 | 167 | "reveal": "silent",
|
88 | 168 | "panel": "dedicated",
|
|
91 | 171 | "clear": true,
|
92 | 172 | "revealProblems": "onProblem"
|
93 | 173 | },
|
94 |
| - "options": { |
95 |
| - "cwd": "${workspaceFolder}/platforms/linux" |
96 |
| - }, |
97 |
| - "problemMatcher": [ |
98 |
| - { |
99 |
| - "base": "$gcc", |
100 |
| - "fileLocation": [ |
101 |
| - "relative", |
102 |
| - "${workspaceFolder}/platforms/linux" |
103 |
| - ] |
104 |
| - } |
105 |
| - ], |
106 | 174 | "group": "build"
|
107 | 175 | },
|
108 | 176 | {
|
109 | 177 | "type": "shell",
|
110 | 178 | "label": "Clean + Build (DEBUG)",
|
111 |
| - "command": "make -j8 -f ${workspaceFolder}/platforms/linux/Makefile DEBUG=1", |
| 179 | + "linux": { |
| 180 | + "command": "make -j10 -f ${workspaceFolder}/platforms/linux/Makefile DEBUG=1", |
| 181 | + "options": { |
| 182 | + "cwd": "${workspaceFolder}/platforms/linux" |
| 183 | + }, |
| 184 | + "problemMatcher": [ |
| 185 | + { |
| 186 | + "base": "$gcc", |
| 187 | + "fileLocation": [ |
| 188 | + "relative", |
| 189 | + "${workspaceFolder}/platforms/linux" |
| 190 | + ] |
| 191 | + } |
| 192 | + ], |
| 193 | + }, |
| 194 | + "osx": { |
| 195 | + "command": "make -j10 -f ${workspaceFolder}/platforms/macos/Makefile DEBUG=1", |
| 196 | + "options": { |
| 197 | + "cwd": "${workspaceFolder}/platforms/macos" |
| 198 | + }, |
| 199 | + "problemMatcher": [ |
| 200 | + { |
| 201 | + "base": "$gcc", |
| 202 | + "fileLocation": [ |
| 203 | + "relative", |
| 204 | + "${workspaceFolder}/platforms/macos" |
| 205 | + ] |
| 206 | + } |
| 207 | + ], |
| 208 | + }, |
112 | 209 | "presentation": {
|
113 | 210 | "reveal": "silent",
|
114 | 211 | "panel": "dedicated",
|
|
117 | 214 | "clear": true,
|
118 | 215 | "revealProblems": "onProblem"
|
119 | 216 | },
|
120 |
| - "options": { |
121 |
| - "cwd": "${workspaceFolder}/platforms/linux" |
122 |
| - }, |
123 |
| - "problemMatcher": [ |
124 |
| - { |
125 |
| - "base": "$gcc", |
126 |
| - "fileLocation": [ |
127 |
| - "relative", |
128 |
| - "${workspaceFolder}/platforms/linux" |
129 |
| - ] |
130 |
| - } |
131 |
| - ], |
132 | 217 | "group": {
|
133 | 218 | "kind": "build",
|
134 | 219 | "isDefault": true
|
|
0 commit comments