|
1 | 1 | { |
2 | | - "version": 3, |
| 2 | + "version": 6, |
3 | 3 | "cmakeMinimumRequired": { |
4 | 4 | "major": 3, |
5 | | - "minor": 21, |
| 5 | + "minor": 25, |
6 | 6 | "patch": 0 |
7 | 7 | }, |
8 | 8 | "configurePresets": [ |
|
28 | 28 | }, |
29 | 29 | { |
30 | 30 | "name": "conf-windows-common", |
31 | | - "description": "Windows settings for MSBuild toolchain that apply to msvc and clang", |
| 31 | + "description": |
| 32 | + "Windows settings for MSBuild toolchain that apply to msvc and clang", |
32 | 33 | "hidden": true, |
33 | 34 | "inherits": "conf-common", |
34 | 35 | "condition": { |
|
74 | 75 | { |
75 | 76 | "name": "windows-msvc-debug-developer-mode", |
76 | 77 | "displayName": "msvc Debug (Developer Mode)", |
77 | | - "description": "Target Windows with the msvc compiler, debug build type", |
| 78 | + "description": |
| 79 | + "Target Windows with the msvc compiler, debug build type", |
78 | 80 | "inherits": "conf-windows-common", |
79 | 81 | "cacheVariables": { |
80 | 82 | "CMAKE_C_COMPILER": "cl", |
|
86 | 88 | { |
87 | 89 | "name": "windows-msvc-release-developer-mode", |
88 | 90 | "displayName": "msvc Release (Developer Mode)", |
89 | | - "description": "Target Windows with the msvc compiler, release build type", |
| 91 | + "description": |
| 92 | + "Target Windows with the msvc compiler, release build type", |
90 | 93 | "inherits": "conf-windows-common", |
91 | 94 | "cacheVariables": { |
92 | 95 | "CMAKE_C_COMPILER": "cl", |
|
98 | 101 | { |
99 | 102 | "name": "windows-msvc-debug-user-mode", |
100 | 103 | "displayName": "msvc Debug (User Mode)", |
101 | | - "description": "Target Windows with the msvc compiler, debug build type", |
| 104 | + "description": |
| 105 | + "Target Windows with the msvc compiler, debug build type", |
102 | 106 | "inherits": "conf-windows-common", |
103 | 107 | "cacheVariables": { |
104 | 108 | "CMAKE_C_COMPILER": "cl", |
|
110 | 114 | { |
111 | 115 | "name": "windows-msvc-release-user-mode", |
112 | 116 | "displayName": "msvc Release (User Mode)", |
113 | | - "description": "Target Windows with the msvc compiler, release build type", |
| 117 | + "description": |
| 118 | + "Target Windows with the msvc compiler, release build type", |
114 | 119 | "inherits": "conf-windows-common", |
115 | 120 | "cacheVariables": { |
116 | 121 | "CMAKE_C_COMPILER": "cl", |
|
122 | 127 | { |
123 | 128 | "name": "windows-clang-debug", |
124 | 129 | "displayName": "clang Debug", |
125 | | - "description": "Target Windows with the clang compiler, debug build type", |
| 130 | + "description": |
| 131 | + "Target Windows with the clang compiler, debug build type", |
126 | 132 | "inherits": "conf-windows-common", |
127 | 133 | "cacheVariables": { |
128 | 134 | "CMAKE_C_COMPILER": "clang-cl", |
|
138 | 144 | { |
139 | 145 | "name": "windows-clang-release", |
140 | 146 | "displayName": "clang Release", |
141 | | - "description": "Target Windows with the clang compiler, release build type", |
| 147 | + "description": |
| 148 | + "Target Windows with the clang compiler, release build type", |
142 | 149 | "inherits": "conf-windows-common", |
143 | 150 | "cacheVariables": { |
144 | 151 | "CMAKE_C_COMPILER": "clang-cl", |
|
152 | 159 | } |
153 | 160 | }, |
154 | 161 | { |
155 | | - "name": "unixlike-gcc-debug", |
| 162 | + "name": "gcc-debug", |
156 | 163 | "displayName": "gcc Debug", |
157 | | - "description": "Target Unix-like OS with the gcc compiler, debug build type", |
| 164 | + "description": |
| 165 | + "Target Unix-like OS with the gcc compiler, debug build type", |
158 | 166 | "inherits": "conf-unixlike-common", |
159 | 167 | "cacheVariables": { |
160 | 168 | "myproject_ENABLE_COVERAGE": false, |
|
165 | 173 | } |
166 | 174 | }, |
167 | 175 | { |
168 | | - "name": "unixlike-gcc-release", |
| 176 | + "name": "gcc-release", |
169 | 177 | "displayName": "gcc Release", |
170 | | - "description": "Target Unix-like OS with the gcc compiler, release build type", |
| 178 | + "description": |
| 179 | + "Target Unix-like OS with the gcc compiler, release build type", |
171 | 180 | "inherits": "conf-unixlike-common", |
172 | 181 | "cacheVariables": { |
173 | 182 | "CMAKE_C_COMPILER": "gcc", |
|
176 | 185 | } |
177 | 186 | }, |
178 | 187 | { |
179 | | - "name": "unixlike-clang-debug", |
| 188 | + "name": "clang-debug", |
180 | 189 | "displayName": "clang Debug", |
181 | | - "description": "Target Unix-like OS with the clang compiler, debug build type", |
| 190 | + "description": |
| 191 | + "Target Unix-like OS with the clang compiler, debug build type", |
182 | 192 | "inherits": "conf-unixlike-common", |
183 | 193 | "cacheVariables": { |
184 | 194 | "myproject_ENABLE_COVERAGE": false, |
|
189 | 199 | } |
190 | 200 | }, |
191 | 201 | { |
192 | | - "name": "unixlike-clang-release", |
| 202 | + "name": "clang-release", |
193 | 203 | "displayName": "clang Release", |
194 | | - "description": "Target Unix-like OS with the clang compiler, release build type", |
| 204 | + "description": |
| 205 | + "Target Unix-like OS with the clang compiler, release build type", |
195 | 206 | "inherits": "conf-unixlike-common", |
196 | 207 | "cacheVariables": { |
197 | 208 | "CMAKE_C_COMPILER": "clang", |
|
251 | 262 | "testPresets": [ |
252 | 263 | { |
253 | 264 | "name": "test-common", |
254 | | - "description": "Test CMake settings that apply to all configurations", |
| 265 | + "description": |
| 266 | + "Test CMake settings that apply to all configurations", |
255 | 267 | "hidden": true, |
256 | 268 | "output": { |
257 | 269 | "outputOnFailure": true |
|
290 | 302 | "configurePreset": "windows-clang-release" |
291 | 303 | }, |
292 | 304 | { |
293 | | - "name": "test-unixlike-gcc-debug", |
| 305 | + "name": "gcc-debug", |
294 | 306 | "displayName": "Strict", |
295 | 307 | "description": "Enable output and stop on failure", |
296 | 308 | "inherits": "test-common", |
297 | | - "configurePreset": "unixlike-gcc-debug" |
| 309 | + "configurePreset": "gcc-debug" |
298 | 310 | }, |
299 | 311 | { |
300 | | - "name": "test-unixlike-gcc-release", |
| 312 | + "name": "gcc-release", |
301 | 313 | "displayName": "Strict", |
302 | 314 | "description": "Enable output and stop on failure", |
303 | 315 | "inherits": "test-common", |
304 | | - "configurePreset": "unixlike-gcc-release" |
| 316 | + "configurePreset": "gcc-release" |
305 | 317 | }, |
306 | 318 | { |
307 | | - "name": "test-unixlike-clang-debug", |
| 319 | + "name": "clang-debug", |
308 | 320 | "displayName": "Strict", |
309 | 321 | "description": "Enable output and stop on failure", |
310 | 322 | "inherits": "test-common", |
311 | | - "configurePreset": "unixlike-clang-debug" |
| 323 | + "configurePreset": "clang-debug" |
312 | 324 | }, |
313 | 325 | { |
314 | | - "name": "test-unixlike-clang-release", |
| 326 | + "name": "clang-release", |
315 | 327 | "displayName": "Strict", |
316 | 328 | "description": "Enable output and stop on failure", |
317 | 329 | "inherits": "test-common", |
318 | | - "configurePreset": "unixlike-clang-release" |
| 330 | + "configurePreset": "clang-release" |
| 331 | + } |
| 332 | + ], |
| 333 | + "buildPresets": [ |
| 334 | + { |
| 335 | + "name": "clang-release", |
| 336 | + "configurePreset": "clang-release" |
| 337 | + }, |
| 338 | + { |
| 339 | + "name": "clang-install", |
| 340 | + "configurePreset": "clang-release", |
| 341 | + "targets": [ |
| 342 | + "install" |
| 343 | + ] |
| 344 | + }, |
| 345 | + { |
| 346 | + "name": "clang-debug", |
| 347 | + "configurePreset": "clang-debug" |
| 348 | + }, |
| 349 | + { |
| 350 | + "name": "gcc-release", |
| 351 | + "configurePreset": "gcc-release" |
| 352 | + }, |
| 353 | + { |
| 354 | + "name": "gcc-install", |
| 355 | + "configurePreset": "gcc-release", |
| 356 | + "targets": [ |
| 357 | + "install" |
| 358 | + ] |
| 359 | + }, |
| 360 | + { |
| 361 | + "name": "gcc-debug", |
| 362 | + "configurePreset": "gcc-debug" |
| 363 | + } |
| 364 | + ], |
| 365 | + "packagePresets": [ |
| 366 | + { |
| 367 | + "name": "clang-release", |
| 368 | + "configurePreset": "clang-release", |
| 369 | + "generators": [ |
| 370 | + "TGZ" |
| 371 | + ] |
| 372 | + }, |
| 373 | + { |
| 374 | + "name": "gcc-release", |
| 375 | + "configurePreset": "gcc-release", |
| 376 | + "generators": [ |
| 377 | + "TGZ" |
| 378 | + ] |
| 379 | + } |
| 380 | + ], |
| 381 | + "workflowPresets": [ |
| 382 | + { |
| 383 | + "description": "Developer workflow without installation", |
| 384 | + "name": "clang-debug", |
| 385 | + "steps": [ |
| 386 | + { |
| 387 | + "type": "configure", |
| 388 | + "name": "clang-debug" |
| 389 | + }, |
| 390 | + { |
| 391 | + "type": "build", |
| 392 | + "name": "clang-debug" |
| 393 | + }, |
| 394 | + { |
| 395 | + "type": "test", |
| 396 | + "name": "clang-debug" |
| 397 | + } |
| 398 | + ] |
| 399 | + }, |
| 400 | + { |
| 401 | + "description": "Release workflow without test", |
| 402 | + "name": "clang-release", |
| 403 | + "steps": [ |
| 404 | + { |
| 405 | + "name": "clang-release", |
| 406 | + "type": "configure" |
| 407 | + }, |
| 408 | + { |
| 409 | + "name": "clang-release", |
| 410 | + "type": "build" |
| 411 | + }, |
| 412 | + { |
| 413 | + "name": "clang-release", |
| 414 | + "type": "package" |
| 415 | + } |
| 416 | + ] |
319 | 417 | } |
320 | 418 | ] |
321 | 419 | } |
0 commit comments