|
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": [
|
|
16 | 16 | },
|
17 | 17 | {
|
18 | 18 | "name": "conf-windows-common",
|
19 |
| - "description": "Windows settings for MSBuild toolchain that apply to msvc and clang", |
| 19 | + "description": |
| 20 | + "Windows settings for MSBuild toolchain that apply to msvc and clang", |
20 | 21 | "hidden": true,
|
21 | 22 | "inherits": "conf-common",
|
22 | 23 | "condition": {
|
|
62 | 63 | {
|
63 | 64 | "name": "windows-msvc-debug-developer-mode",
|
64 | 65 | "displayName": "msvc Debug (Developer Mode)",
|
65 |
| - "description": "Target Windows with the msvc compiler, debug build type", |
| 66 | + "description": |
| 67 | + "Target Windows with the msvc compiler, debug build type", |
66 | 68 | "inherits": "conf-windows-common",
|
67 | 69 | "cacheVariables": {
|
68 | 70 | "CMAKE_C_COMPILER": "cl",
|
|
74 | 76 | {
|
75 | 77 | "name": "windows-msvc-release-developer-mode",
|
76 | 78 | "displayName": "msvc Release (Developer Mode)",
|
77 |
| - "description": "Target Windows with the msvc compiler, release build type", |
| 79 | + "description": |
| 80 | + "Target Windows with the msvc compiler, release build type", |
78 | 81 | "inherits": "conf-windows-common",
|
79 | 82 | "cacheVariables": {
|
80 | 83 | "CMAKE_C_COMPILER": "cl",
|
|
86 | 89 | {
|
87 | 90 | "name": "windows-msvc-debug-user-mode",
|
88 | 91 | "displayName": "msvc Debug (User Mode)",
|
89 |
| - "description": "Target Windows with the msvc compiler, debug build type", |
| 92 | + "description": |
| 93 | + "Target Windows with the msvc compiler, debug build type", |
90 | 94 | "inherits": "conf-windows-common",
|
91 | 95 | "cacheVariables": {
|
92 | 96 | "CMAKE_C_COMPILER": "cl",
|
|
98 | 102 | {
|
99 | 103 | "name": "windows-msvc-release-user-mode",
|
100 | 104 | "displayName": "msvc Release (User Mode)",
|
101 |
| - "description": "Target Windows with the msvc compiler, release build type", |
| 105 | + "description": |
| 106 | + "Target Windows with the msvc compiler, release build type", |
102 | 107 | "inherits": "conf-windows-common",
|
103 | 108 | "cacheVariables": {
|
104 | 109 | "CMAKE_C_COMPILER": "cl",
|
|
110 | 115 | {
|
111 | 116 | "name": "windows-clang-debug",
|
112 | 117 | "displayName": "clang Debug",
|
113 |
| - "description": "Target Windows with the clang compiler, debug build type", |
| 118 | + "description": |
| 119 | + "Target Windows with the clang compiler, debug build type", |
114 | 120 | "inherits": "conf-windows-common",
|
115 | 121 | "cacheVariables": {
|
116 | 122 | "CMAKE_C_COMPILER": "clang-cl",
|
|
126 | 132 | {
|
127 | 133 | "name": "windows-clang-release",
|
128 | 134 | "displayName": "clang Release",
|
129 |
| - "description": "Target Windows with the clang compiler, release build type", |
| 135 | + "description": |
| 136 | + "Target Windows with the clang compiler, release build type", |
130 | 137 | "inherits": "conf-windows-common",
|
131 | 138 | "cacheVariables": {
|
132 | 139 | "CMAKE_C_COMPILER": "clang-cl",
|
|
140 | 147 | }
|
141 | 148 | },
|
142 | 149 | {
|
143 |
| - "name": "unixlike-gcc-debug", |
| 150 | + "name": "gcc-debug", |
144 | 151 | "displayName": "gcc Debug",
|
145 |
| - "description": "Target Unix-like OS with the gcc compiler, debug build type", |
| 152 | + "description": |
| 153 | + "Target Unix-like OS with the gcc compiler, debug build type", |
146 | 154 | "inherits": "conf-unixlike-common",
|
147 | 155 | "cacheVariables": {
|
148 | 156 | "myproject_ENABLE_COVERAGE": false,
|
|
153 | 161 | }
|
154 | 162 | },
|
155 | 163 | {
|
156 |
| - "name": "unixlike-gcc-release", |
| 164 | + "name": "gcc-release", |
157 | 165 | "displayName": "gcc Release",
|
158 |
| - "description": "Target Unix-like OS with the gcc compiler, release build type", |
| 166 | + "description": |
| 167 | + "Target Unix-like OS with the gcc compiler, release build type", |
159 | 168 | "inherits": "conf-unixlike-common",
|
160 | 169 | "cacheVariables": {
|
161 | 170 | "CMAKE_C_COMPILER": "gcc",
|
|
164 | 173 | }
|
165 | 174 | },
|
166 | 175 | {
|
167 |
| - "name": "unixlike-clang-debug", |
| 176 | + "name": "clang-debug", |
168 | 177 | "displayName": "clang Debug",
|
169 |
| - "description": "Target Unix-like OS with the clang compiler, debug build type", |
| 178 | + "description": |
| 179 | + "Target Unix-like OS with the clang compiler, debug build type", |
170 | 180 | "inherits": "conf-unixlike-common",
|
171 | 181 | "cacheVariables": {
|
172 | 182 | "myproject_ENABLE_COVERAGE": false,
|
|
177 | 187 | }
|
178 | 188 | },
|
179 | 189 | {
|
180 |
| - "name": "unixlike-clang-release", |
| 190 | + "name": "clang-release", |
181 | 191 | "displayName": "clang Release",
|
182 |
| - "description": "Target Unix-like OS with the clang compiler, release build type", |
| 192 | + "description": |
| 193 | + "Target Unix-like OS with the clang compiler, release build type", |
183 | 194 | "inherits": "conf-unixlike-common",
|
184 | 195 | "cacheVariables": {
|
185 | 196 | "CMAKE_C_COMPILER": "clang",
|
|
191 | 202 | "testPresets": [
|
192 | 203 | {
|
193 | 204 | "name": "test-common",
|
194 |
| - "description": "Test CMake settings that apply to all configurations", |
| 205 | + "description": |
| 206 | + "Test CMake settings that apply to all configurations", |
195 | 207 | "hidden": true,
|
196 | 208 | "output": {
|
197 | 209 | "outputOnFailure": true
|
|
230 | 242 | "configurePreset": "windows-clang-release"
|
231 | 243 | },
|
232 | 244 | {
|
233 |
| - "name": "test-unixlike-gcc-debug", |
| 245 | + "name": "gcc-debug", |
234 | 246 | "displayName": "Strict",
|
235 | 247 | "description": "Enable output and stop on failure",
|
236 | 248 | "inherits": "test-common",
|
237 |
| - "configurePreset": "unixlike-gcc-debug" |
| 249 | + "configurePreset": "gcc-debug" |
238 | 250 | },
|
239 | 251 | {
|
240 |
| - "name": "test-unixlike-gcc-release", |
| 252 | + "name": "gcc-release", |
241 | 253 | "displayName": "Strict",
|
242 | 254 | "description": "Enable output and stop on failure",
|
243 | 255 | "inherits": "test-common",
|
244 |
| - "configurePreset": "unixlike-gcc-release" |
| 256 | + "configurePreset": "gcc-release" |
245 | 257 | },
|
246 | 258 | {
|
247 |
| - "name": "test-unixlike-clang-debug", |
| 259 | + "name": "clang-debug", |
248 | 260 | "displayName": "Strict",
|
249 | 261 | "description": "Enable output and stop on failure",
|
250 | 262 | "inherits": "test-common",
|
251 |
| - "configurePreset": "unixlike-clang-debug" |
| 263 | + "configurePreset": "clang-debug" |
252 | 264 | },
|
253 | 265 | {
|
254 |
| - "name": "test-unixlike-clang-release", |
| 266 | + "name": "clang-release", |
255 | 267 | "displayName": "Strict",
|
256 | 268 | "description": "Enable output and stop on failure",
|
257 | 269 | "inherits": "test-common",
|
258 |
| - "configurePreset": "unixlike-clang-release" |
| 270 | + "configurePreset": "clang-release" |
| 271 | + } |
| 272 | + ], |
| 273 | + "buildPresets": [ |
| 274 | + { |
| 275 | + "name": "clang-release", |
| 276 | + "configurePreset": "clang-release" |
| 277 | + }, |
| 278 | + { |
| 279 | + "name": "clang-install", |
| 280 | + "configurePreset": "clang-release", |
| 281 | + "targets": [ |
| 282 | + "install" |
| 283 | + ] |
| 284 | + }, |
| 285 | + { |
| 286 | + "name": "clang-debug", |
| 287 | + "configurePreset": "clang-debug" |
| 288 | + }, |
| 289 | + { |
| 290 | + "name": "gcc-release", |
| 291 | + "configurePreset": "gcc-release" |
| 292 | + }, |
| 293 | + { |
| 294 | + "name": "gcc-install", |
| 295 | + "configurePreset": "gcc-release", |
| 296 | + "targets": [ |
| 297 | + "install" |
| 298 | + ] |
| 299 | + }, |
| 300 | + { |
| 301 | + "name": "gcc-debug", |
| 302 | + "configurePreset": "gcc-debug" |
| 303 | + } |
| 304 | + ], |
| 305 | + "packagePresets": [ |
| 306 | + { |
| 307 | + "name": "clang-release", |
| 308 | + "configurePreset": "clang-release", |
| 309 | + "generators": [ |
| 310 | + "TGZ" |
| 311 | + ] |
| 312 | + }, |
| 313 | + { |
| 314 | + "name": "gcc-release", |
| 315 | + "configurePreset": "gcc-release", |
| 316 | + "generators": [ |
| 317 | + "TGZ" |
| 318 | + ] |
| 319 | + } |
| 320 | + ], |
| 321 | + "workflowPresets": [ |
| 322 | + { |
| 323 | + "description": "Developer workflow without installation", |
| 324 | + "name": "clang-debug", |
| 325 | + "steps": [ |
| 326 | + { |
| 327 | + "type": "configure", |
| 328 | + "name": "clang-debug" |
| 329 | + }, |
| 330 | + { |
| 331 | + "type": "build", |
| 332 | + "name": "clang-debug" |
| 333 | + }, |
| 334 | + { |
| 335 | + "type": "test", |
| 336 | + "name": "clang-debug" |
| 337 | + } |
| 338 | + ] |
| 339 | + }, |
| 340 | + { |
| 341 | + "description": "Release workflow without test", |
| 342 | + "name": "clang-release", |
| 343 | + "steps": [ |
| 344 | + { |
| 345 | + "name": "clang-release", |
| 346 | + "type": "configure" |
| 347 | + }, |
| 348 | + { |
| 349 | + "name": "clang-release", |
| 350 | + "type": "build" |
| 351 | + }, |
| 352 | + { |
| 353 | + "name": "clang-release", |
| 354 | + "type": "package" |
| 355 | + } |
| 356 | + ] |
259 | 357 | }
|
260 | 358 | ]
|
261 | 359 | }
|
0 commit comments