|
39 | 39 | },
|
40 | 40 | {
|
41 | 41 | "name": "config-unixlike-common",
|
42 |
| - "description": "Unix-like OS settings for gcc and clang toolchains", |
| 42 | + "description": "Unixlike OS settings for gcc and clang toolchains", |
43 | 43 | "hidden": true,
|
44 | 44 | "inherits": "config-common",
|
45 | 45 | "condition": {
|
|
118 | 118 | {
|
119 | 119 | "name": "unixlike-gcc",
|
120 | 120 | "displayName": "gcc",
|
121 |
| - "description": "Target unix-like OS with the gcc compiler", |
| 121 | + "description": "Target unixlike OS with the gcc compiler", |
122 | 122 | "inherits": [
|
123 | 123 | "config-unixlike-common",
|
124 | 124 | "config-gcc-compiler"
|
|
127 | 127 | {
|
128 | 128 | "name": "unixlike-clang",
|
129 | 129 | "displayName": "clang",
|
130 |
| - "description": "Target Unix-like OS with the clang compiler", |
| 130 | + "description": "Target unixlike OS with the clang compiler", |
131 | 131 | "inherits": [
|
132 | 132 | "config-unixlike-common",
|
133 | 133 | "config-clang-compiler"
|
|
136 | 136 | ],
|
137 | 137 | "buildPresets": [
|
138 | 138 | {
|
139 |
| - "name": "build-common-debug", |
| 139 | + "name": "build-windows", |
| 140 | + "description": "Windows common build settings", |
| 141 | + "hidden": true, |
| 142 | + "condition": { |
| 143 | + "type": "equals", |
| 144 | + "lhs": "${hostSystemName}", |
| 145 | + "rhs": "Windows" |
| 146 | + } |
| 147 | + }, |
| 148 | + { |
| 149 | + "name": "build-unixlike", |
| 150 | + "description": "Unixlike OS common build settings", |
| 151 | + "hidden": true, |
| 152 | + "condition": { |
| 153 | + "type": "inList", |
| 154 | + "string": "${hostSystemName}", |
| 155 | + "list": [ |
| 156 | + "Linux", |
| 157 | + "Darwin" |
| 158 | + ] |
| 159 | + } |
| 160 | + }, |
| 161 | + { |
| 162 | + "name": "build-debug", |
140 | 163 | "description": "Set build type to Debug",
|
141 | 164 | "hidden": true,
|
142 | 165 | "configuration": "Debug"
|
143 | 166 | },
|
144 | 167 | {
|
145 |
| - "name": "build-common-release", |
| 168 | + "name": "build-release", |
146 | 169 | "description": "Set build type to Release",
|
147 | 170 | "hidden": true,
|
148 | 171 | "configuration": "Release"
|
149 | 172 | },
|
150 | 173 | {
|
151 | 174 | "name": "build-common-relwithdebinfo",
|
152 |
| - "description": "Set build type to Release", |
| 175 | + "description": "Set build type to RelWithDebInfo", |
153 | 176 | "hidden": true,
|
154 | 177 | "configuration": "RelWithDebInfo"
|
155 | 178 | },
|
|
163 | 186 | "name": "windows-msvc-debug",
|
164 | 187 | "displayName": "Debug",
|
165 | 188 | "description": "Build msvc debug on windows",
|
166 |
| - "inherits": "build-common-debug", |
| 189 | + "inherits": [ |
| 190 | + "build-windows", |
| 191 | + "build-debug" |
| 192 | + ], |
167 | 193 | "configurePreset": "windows-msvc"
|
168 | 194 | },
|
169 | 195 | {
|
170 |
| - "name": "build-windows-msvc-release", |
| 196 | + "name": "windows-msvc-release", |
171 | 197 | "displayName": "Release",
|
172 | 198 | "description": "Build msvc release on windows",
|
173 |
| - "inherits": "build-common-release", |
| 199 | + "inherits": [ |
| 200 | + "build-windows", |
| 201 | + "build-release" |
| 202 | + ], |
174 | 203 | "configurePreset": "windows-msvc"
|
175 | 204 | },
|
176 | 205 | {
|
177 |
| - "name": "build-unixlike-gcc-debug", |
| 206 | + "name": "unixlike-gcc-debug", |
178 | 207 | "displayName": "Debug",
|
179 | 208 | "description": "Build gcc debug on unixlike OS",
|
180 |
| - "inherits": "build-common-debug", |
| 209 | + "inherits": [ |
| 210 | + "build-unixlike", |
| 211 | + "build-debug" |
| 212 | + ], |
181 | 213 | "configurePreset": "unixlike-gcc"
|
182 | 214 | },
|
183 | 215 | {
|
184 |
| - "name": "build-unixlike-gcc-release", |
| 216 | + "name": "unixlike-gcc-release", |
185 | 217 | "displayName": "Release",
|
186 | 218 | "description": "Build gcc release on unixlike OS",
|
187 |
| - "inherits": "build-common-release", |
| 219 | + "inherits": [ |
| 220 | + "build-unixlike", |
| 221 | + "build-release" |
| 222 | + ], |
188 | 223 | "configurePreset": "unixlike-gcc"
|
189 | 224 | },
|
190 | 225 | {
|
191 |
| - "name": "build-unixlike-clang-debug", |
| 226 | + "name": "unixlike-clang-debug", |
192 | 227 | "displayName": "Debug",
|
193 | 228 | "description": "Build clang debug on unixlike OS",
|
194 |
| - "inherits": "build-common-debug", |
| 229 | + "inherits": [ |
| 230 | + "build-unixlike", |
| 231 | + "build-debug" |
| 232 | + ], |
195 | 233 | "configurePreset": "unixlike-clang"
|
196 | 234 | },
|
197 | 235 | {
|
198 |
| - "name": "build-unixlike-clang-release", |
| 236 | + "name": "unixlike-clang-release", |
199 | 237 | "displayName": "Release",
|
200 | 238 | "description": "Build clang release on unixlike OS",
|
201 |
| - "inherits": "build-common-release", |
| 239 | + "inherits": [ |
| 240 | + "build-unixlike", |
| 241 | + "build-release" |
| 242 | + ], |
202 | 243 | "configurePreset": "unixlike-clang"
|
203 | 244 | }
|
204 | 245 | ],
|
|
216 | 257 | }
|
217 | 258 | },
|
218 | 259 | {
|
219 |
| - "name": "test-common-debug", |
| 260 | + "name": "test-windows", |
| 261 | + "description": "Windows common test settings", |
| 262 | + "hidden": true, |
| 263 | + "condition": { |
| 264 | + "type": "equals", |
| 265 | + "lhs": "${hostSystemName}", |
| 266 | + "rhs": "Windows" |
| 267 | + } |
| 268 | + }, |
| 269 | + { |
| 270 | + "name": "test-unixlike", |
| 271 | + "description": "Unixlike OS common test settings", |
| 272 | + "hidden": true, |
| 273 | + "condition": { |
| 274 | + "type": "inList", |
| 275 | + "string": "${hostSystemName}", |
| 276 | + "list": [ |
| 277 | + "Linux", |
| 278 | + "Darwin" |
| 279 | + ] |
| 280 | + } |
| 281 | + }, |
| 282 | + { |
| 283 | + "name": "test-debug", |
220 | 284 | "description": "Test CMake settings that apply to debug configurations",
|
221 | 285 | "hidden": true,
|
222 |
| - "inherits": "test-common", |
223 | 286 | "configuration": "Debug"
|
224 | 287 | },
|
225 | 288 | {
|
226 |
| - "name": "test-common-release", |
| 289 | + "name": "test-release", |
227 | 290 | "description": "Test CMake settings that apply to release configurations",
|
228 | 291 | "hidden": true,
|
229 |
| - "inherits": "test-common", |
230 | 292 | "configuration": "Release"
|
231 | 293 | },
|
232 | 294 | {
|
233 |
| - "name": "test-windows-msvc-debug", |
| 295 | + "name": "windows-msvc-debug", |
234 | 296 | "displayName": "Debug",
|
235 | 297 | "description": "Set Strict rules for windows msvc debug tests",
|
236 |
| - "inherits": "test-common-debug", |
| 298 | + "inherits": [ |
| 299 | + "test-common", |
| 300 | + "test-windows", |
| 301 | + "test-debug" |
| 302 | + ], |
237 | 303 | "configurePreset": "windows-msvc"
|
238 | 304 | },
|
239 | 305 | {
|
240 |
| - "name": "test-windows-msvc-release", |
| 306 | + "name": "windows-msvc-release", |
241 | 307 | "displayName": "Release",
|
242 | 308 | "description": "Set Strict rules for windows msvc release tests",
|
243 |
| - "inherits": "test-common-release", |
| 309 | + "inherits": [ |
| 310 | + "test-common", |
| 311 | + "test-windows", |
| 312 | + "test-release" |
| 313 | + ], |
244 | 314 | "configurePreset": "windows-msvc"
|
245 | 315 | },
|
246 | 316 | {
|
247 |
| - "name": "test-windows-clang-debug", |
| 317 | + "name": "windows-clang-debug", |
248 | 318 | "displayName": "Debug",
|
249 | 319 | "description": "Set Strict rules for windows clang debug tests",
|
250 |
| - "inherits": "test-common-debug", |
| 320 | + "inherits": [ |
| 321 | + "test-common", |
| 322 | + "test-windows", |
| 323 | + "test-debug" |
| 324 | + ], |
251 | 325 | "configurePreset": "windows-clang"
|
252 | 326 | },
|
253 | 327 | {
|
254 |
| - "name": "test-windows-clang-release", |
| 328 | + "name": "windows-clang-release", |
255 | 329 | "displayName": "Release",
|
256 | 330 | "description": "Set Strict rules for windows clang release tests",
|
257 |
| - "inherits": "test-common-release", |
| 331 | + "inherits": [ |
| 332 | + "test-common", |
| 333 | + "test-windows", |
| 334 | + "test-release" |
| 335 | + ], |
258 | 336 | "configurePreset": "windows-clang"
|
259 | 337 | },
|
260 | 338 | {
|
261 |
| - "name": "test-unixlike-gcc-debug", |
| 339 | + "name": "unixlike-gcc-debug", |
262 | 340 | "displayName": "Debug",
|
263 | 341 | "description": "Set Strict rules for unixlike gcc debug tests",
|
264 |
| - "inherits": "test-common-debug", |
| 342 | + "inherits": [ |
| 343 | + "test-common", |
| 344 | + "test-unixlike", |
| 345 | + "test-debug" |
| 346 | + ], |
265 | 347 | "configurePreset": "unixlike-gcc"
|
266 | 348 | },
|
267 | 349 | {
|
268 |
| - "name": "test-unixlike-gcc-release", |
| 350 | + "name": "unixlike-gcc-release", |
269 | 351 | "displayName": "Release",
|
270 | 352 | "description": "Set Strict rules for unixlike gcc release tests",
|
271 |
| - "inherits": "test-common-release", |
| 353 | + "inherits": [ |
| 354 | + "test-common", |
| 355 | + "test-unixlike", |
| 356 | + "test-release" |
| 357 | + ], |
272 | 358 | "configurePreset": "unixlike-gcc"
|
273 | 359 | },
|
274 | 360 | {
|
275 |
| - "name": "test-unixlike-clang-debug", |
| 361 | + "name": "unixlike-clang-debug", |
276 | 362 | "displayName": "Debug",
|
277 | 363 | "description": "Set Strict rules for unixlike clang debug tests",
|
278 |
| - "inherits": "test-common-debug", |
| 364 | + "inherits": [ |
| 365 | + "test-common", |
| 366 | + "test-unixlike", |
| 367 | + "test-debug" |
| 368 | + ], |
279 | 369 | "configurePreset": "unixlike-clang"
|
280 | 370 | },
|
281 | 371 | {
|
282 |
| - "name": "test-unixlike-clang-release", |
| 372 | + "name": "unixlike-clang-release", |
283 | 373 | "displayName": "Release",
|
284 | 374 | "description": "Set Strict rules for unixlike clang release tests",
|
285 |
| - "inherits": "test-common-release", |
| 375 | + "inherits": [ |
| 376 | + "test-common", |
| 377 | + "test-unixlike", |
| 378 | + "test-release" |
| 379 | + ], |
286 | 380 | "configurePreset": "unixlike-clang"
|
287 | 381 | }
|
288 | 382 | ]
|
|
0 commit comments