|
7 | 7 | }, |
8 | 8 | "configurePresets": [ |
9 | 9 | { |
10 | | - "name": "config-common", |
| 10 | + "name": "common", |
11 | 11 | "description": "General settings that apply to all configurations", |
12 | 12 | "hidden": true, |
13 | 13 | "generator": "Ninja Multi-Config", |
14 | 14 | "binaryDir": "${sourceDir}/out/build/${presetName}", |
15 | 15 | "installDir": "${sourceDir}/out/install/${presetName}" |
16 | 16 | }, |
17 | 17 | { |
18 | | - "name": "config-windows", |
| 18 | + "name": "windows", |
19 | 19 | "description": "Windows settings for MSBuild toolchain that apply to msvc and clang", |
20 | 20 | "hidden": true, |
21 | 21 | "condition": { |
|
37 | 37 | } |
38 | 38 | }, |
39 | 39 | { |
40 | | - "name": "config-unixlike", |
| 40 | + "name": "unixlike", |
41 | 41 | "description": "Unixlike OS settings for gcc and clang toolchains", |
42 | 42 | "hidden": true, |
43 | 43 | "condition": { |
|
55 | 55 | } |
56 | 56 | }, |
57 | 57 | { |
58 | | - "name": "config-msvc", |
| 58 | + "name": "msvc", |
59 | 59 | "description": "Set cl as the compiler to be used", |
60 | 60 | "hidden": true, |
61 | 61 | "cacheVariables": { |
|
64 | 64 | } |
65 | 65 | }, |
66 | 66 | { |
67 | | - "name": "config-clangcl", |
| 67 | + "name": "clangcl", |
68 | 68 | "description": "Set clang-cl as the compiler to be used", |
69 | 69 | "hidden": true, |
70 | 70 | "cacheVariables": { |
|
78 | 78 | } |
79 | 79 | }, |
80 | 80 | { |
81 | | - "name": "config-gcc", |
| 81 | + "name": "gcc", |
82 | 82 | "description": "Set gcc as the compiler to be used", |
83 | 83 | "hidden": true, |
84 | 84 | "cacheVariables": { |
|
87 | 87 | } |
88 | 88 | }, |
89 | 89 | { |
90 | | - "name": "config-clang", |
| 90 | + "name": "clang", |
91 | 91 | "description": "Set clang as the compiler to be used", |
92 | 92 | "hidden": true, |
93 | 93 | "cacheVariables": { |
|
100 | 100 | "displayName": "msvc", |
101 | 101 | "description": "Target Windows with the msvc compiler", |
102 | 102 | "inherits": [ |
103 | | - "config-common", |
104 | | - "config-windows", |
105 | | - "config-msvc" |
| 103 | + "common", |
| 104 | + "windows", |
| 105 | + "msvc" |
106 | 106 | ] |
107 | 107 | }, |
108 | 108 | { |
109 | 109 | "name": "windows-clang", |
110 | 110 | "displayName": "clang", |
111 | 111 | "description": "Target Windows with the clang compiler", |
112 | 112 | "inherits": [ |
113 | | - "config-common", |
114 | | - "config-windows", |
115 | | - "config-clangcl" |
| 113 | + "common", |
| 114 | + "windows", |
| 115 | + "clangcl" |
116 | 116 | ] |
117 | 117 | }, |
118 | 118 | { |
119 | 119 | "name": "unixlike-gcc", |
120 | 120 | "displayName": "gcc", |
121 | 121 | "description": "Target unixlike OS with the gcc compiler", |
122 | 122 | "inherits": [ |
123 | | - "config-common", |
124 | | - "config-unixlike", |
125 | | - "config-gcc" |
| 123 | + "common", |
| 124 | + "unixlike", |
| 125 | + "gcc" |
126 | 126 | ] |
127 | 127 | }, |
128 | 128 | { |
129 | 129 | "name": "unixlike-clang", |
130 | 130 | "displayName": "clang", |
131 | 131 | "description": "Target unixlike OS with the clang compiler", |
132 | 132 | "inherits": [ |
133 | | - "config-common", |
134 | | - "config-unixlike", |
135 | | - "config-clang" |
| 133 | + "common", |
| 134 | + "unixlike", |
| 135 | + "clang" |
136 | 136 | ] |
137 | 137 | } |
138 | 138 | ], |
139 | 139 | "buildPresets": [ |
140 | 140 | { |
141 | | - "name": "build-windows", |
| 141 | + "name": "windows", |
142 | 142 | "description": "Windows build settings", |
143 | 143 | "hidden": true, |
144 | 144 | "condition": { |
|
148 | 148 | } |
149 | 149 | }, |
150 | 150 | { |
151 | | - "name": "build-unixlike", |
| 151 | + "name": "unixlike", |
152 | 152 | "description": "Unixlike OS build settings", |
153 | 153 | "hidden": true, |
154 | 154 | "condition": { |
|
161 | 161 | } |
162 | 162 | }, |
163 | 163 | { |
164 | | - "name": "build-debug", |
| 164 | + "name": "debug", |
165 | 165 | "description": "Set build type to Debug", |
166 | 166 | "hidden": true, |
167 | 167 | "configuration": "Debug" |
168 | 168 | }, |
169 | 169 | { |
170 | | - "name": "build-release", |
| 170 | + "name": "release", |
171 | 171 | "description": "Set build type to Release", |
172 | 172 | "hidden": true, |
173 | 173 | "configuration": "Release" |
174 | 174 | }, |
175 | 175 | { |
176 | | - "name": "build-relwithdebinfo", |
| 176 | + "name": "relwithdebinfo", |
177 | 177 | "description": "Set build type to RelWithDebInfo", |
178 | 178 | "hidden": true, |
179 | 179 | "configuration": "RelWithDebInfo" |
180 | 180 | }, |
181 | 181 | { |
182 | | - "name": "build-minsizerel", |
| 182 | + "name": "minsizerel", |
183 | 183 | "description": "Set build type to MinSizeRel", |
184 | 184 | "hidden": true, |
185 | 185 | "configuration": "MinSizeRel" |
|
189 | 189 | "displayName": "Debug", |
190 | 190 | "description": "Build msvc debug on windows", |
191 | 191 | "inherits": [ |
192 | | - "build-windows", |
193 | | - "build-debug" |
| 192 | + "windows", |
| 193 | + "debug" |
194 | 194 | ], |
195 | 195 | "configurePreset": "windows-msvc" |
196 | 196 | }, |
|
199 | 199 | "displayName": "Release", |
200 | 200 | "description": "Build msvc release on windows", |
201 | 201 | "inherits": [ |
202 | | - "build-windows", |
203 | | - "build-release" |
| 202 | + "windows", |
| 203 | + "release" |
204 | 204 | ], |
205 | 205 | "configurePreset": "windows-msvc" |
206 | 206 | }, |
|
209 | 209 | "displayName": "Debug", |
210 | 210 | "description": "Build clang debug on windows", |
211 | 211 | "inherits": [ |
212 | | - "build-windows", |
213 | | - "build-debug" |
| 212 | + "windows", |
| 213 | + "debug" |
214 | 214 | ], |
215 | 215 | "configurePreset": "windows-clang" |
216 | 216 | }, |
|
219 | 219 | "displayName": "Release", |
220 | 220 | "description": "Build clang release on windows", |
221 | 221 | "inherits": [ |
222 | | - "build-windows", |
223 | | - "build-release" |
| 222 | + "windows", |
| 223 | + "release" |
224 | 224 | ], |
225 | 225 | "configurePreset": "windows-clang" |
226 | 226 | }, |
|
229 | 229 | "displayName": "Debug", |
230 | 230 | "description": "Build gcc debug on unixlike OS", |
231 | 231 | "inherits": [ |
232 | | - "build-unixlike", |
233 | | - "build-debug" |
| 232 | + "unixlike", |
| 233 | + "debug" |
234 | 234 | ], |
235 | 235 | "configurePreset": "unixlike-gcc" |
236 | 236 | }, |
|
239 | 239 | "displayName": "Release", |
240 | 240 | "description": "Build gcc release on unixlike OS", |
241 | 241 | "inherits": [ |
242 | | - "build-unixlike", |
243 | | - "build-release" |
| 242 | + "unixlike", |
| 243 | + "release" |
244 | 244 | ], |
245 | 245 | "configurePreset": "unixlike-gcc" |
246 | 246 | }, |
|
249 | 249 | "displayName": "Debug", |
250 | 250 | "description": "Build clang debug on unixlike OS", |
251 | 251 | "inherits": [ |
252 | | - "build-unixlike", |
253 | | - "build-debug" |
| 252 | + "unixlike", |
| 253 | + "debug" |
254 | 254 | ], |
255 | 255 | "configurePreset": "unixlike-clang" |
256 | 256 | }, |
|
259 | 259 | "displayName": "Release", |
260 | 260 | "description": "Build clang release on unixlike OS", |
261 | 261 | "inherits": [ |
262 | | - "build-unixlike", |
263 | | - "build-release" |
| 262 | + "unixlike", |
| 263 | + "release" |
264 | 264 | ], |
265 | 265 | "configurePreset": "unixlike-clang" |
266 | 266 | } |
267 | 267 | ], |
268 | 268 | "testPresets": [ |
269 | 269 | { |
270 | | - "name": "test-common", |
| 270 | + "name": "common", |
271 | 271 | "description": "Test CMake settings that apply to all configurations", |
272 | 272 | "hidden": true, |
273 | 273 | "output": { |
|
279 | 279 | } |
280 | 280 | }, |
281 | 281 | { |
282 | | - "name": "test-windows", |
| 282 | + "name": "windows", |
283 | 283 | "description": "Windows test settings", |
284 | 284 | "hidden": true, |
285 | 285 | "condition": { |
|
289 | 289 | } |
290 | 290 | }, |
291 | 291 | { |
292 | | - "name": "test-unixlike", |
| 292 | + "name": "unixlike", |
293 | 293 | "description": "Unixlike OS test settings", |
294 | 294 | "hidden": true, |
295 | 295 | "condition": { |
|
302 | 302 | } |
303 | 303 | }, |
304 | 304 | { |
305 | | - "name": "test-debug", |
| 305 | + "name": "debug", |
306 | 306 | "description": "Test CMake settings that apply to debug configurations", |
307 | 307 | "hidden": true, |
308 | 308 | "configuration": "Debug" |
309 | 309 | }, |
310 | 310 | { |
311 | | - "name": "test-release", |
| 311 | + "name": "release", |
312 | 312 | "description": "Test CMake settings that apply to release configurations", |
313 | 313 | "hidden": true, |
314 | 314 | "configuration": "Release" |
|
318 | 318 | "displayName": "Debug", |
319 | 319 | "description": "Set Strict rules for windows msvc debug tests", |
320 | 320 | "inherits": [ |
321 | | - "test-common", |
322 | | - "test-windows", |
323 | | - "test-debug" |
| 321 | + "common", |
| 322 | + "windows", |
| 323 | + "debug" |
324 | 324 | ], |
325 | 325 | "configurePreset": "windows-msvc" |
326 | 326 | }, |
|
329 | 329 | "displayName": "Release", |
330 | 330 | "description": "Set Strict rules for windows msvc release tests", |
331 | 331 | "inherits": [ |
332 | | - "test-common", |
333 | | - "test-windows", |
334 | | - "test-release" |
| 332 | + "common", |
| 333 | + "windows", |
| 334 | + "release" |
335 | 335 | ], |
336 | 336 | "configurePreset": "windows-msvc" |
337 | 337 | }, |
|
340 | 340 | "displayName": "Debug", |
341 | 341 | "description": "Set Strict rules for windows clang debug tests", |
342 | 342 | "inherits": [ |
343 | | - "test-common", |
344 | | - "test-windows", |
345 | | - "test-debug" |
| 343 | + "common", |
| 344 | + "windows", |
| 345 | + "debug" |
346 | 346 | ], |
347 | 347 | "configurePreset": "windows-clang" |
348 | 348 | }, |
|
351 | 351 | "displayName": "Release", |
352 | 352 | "description": "Set Strict rules for windows clang release tests", |
353 | 353 | "inherits": [ |
354 | | - "test-common", |
355 | | - "test-windows", |
356 | | - "test-release" |
| 354 | + "common", |
| 355 | + "windows", |
| 356 | + "release" |
357 | 357 | ], |
358 | 358 | "configurePreset": "windows-clang" |
359 | 359 | }, |
|
362 | 362 | "displayName": "Debug", |
363 | 363 | "description": "Set Strict rules for unixlike gcc debug tests", |
364 | 364 | "inherits": [ |
365 | | - "test-common", |
366 | | - "test-unixlike", |
367 | | - "test-debug" |
| 365 | + "common", |
| 366 | + "unixlike", |
| 367 | + "debug" |
368 | 368 | ], |
369 | 369 | "configurePreset": "unixlike-gcc" |
370 | 370 | }, |
|
373 | 373 | "displayName": "Release", |
374 | 374 | "description": "Set Strict rules for unixlike gcc release tests", |
375 | 375 | "inherits": [ |
376 | | - "test-common", |
377 | | - "test-unixlike", |
378 | | - "test-release" |
| 376 | + "common", |
| 377 | + "unixlike", |
| 378 | + "release" |
379 | 379 | ], |
380 | 380 | "configurePreset": "unixlike-gcc" |
381 | 381 | }, |
|
384 | 384 | "displayName": "Debug", |
385 | 385 | "description": "Set Strict rules for unixlike clang debug tests", |
386 | 386 | "inherits": [ |
387 | | - "test-common", |
388 | | - "test-unixlike", |
389 | | - "test-debug" |
| 387 | + "common", |
| 388 | + "unixlike", |
| 389 | + "debug" |
390 | 390 | ], |
391 | 391 | "configurePreset": "unixlike-clang" |
392 | 392 | }, |
|
395 | 395 | "displayName": "Release", |
396 | 396 | "description": "Set Strict rules for unixlike clang release tests", |
397 | 397 | "inherits": [ |
398 | | - "test-common", |
399 | | - "test-unixlike", |
400 | | - "test-release" |
| 398 | + "common", |
| 399 | + "unixlike", |
| 400 | + "release" |
401 | 401 | ], |
402 | 402 | "configurePreset": "unixlike-clang" |
403 | 403 | } |
|
0 commit comments