|
1 | 1 | {
|
2 | 2 | "version": 6,
|
3 |
| - "cmakeMinimumRequired": { |
| 3 | + "cmakeMinimumRequired": |
| 4 | + { |
4 | 5 | "major": 3,
|
5 | 6 | "minor": 25,
|
6 | 7 | "patch": 0
|
7 | 8 | },
|
8 |
| - "configurePresets": [ |
| 9 | + "configurePresets": |
| 10 | + [ |
9 | 11 | {
|
10 | 12 | "name": "vc6",
|
11 | 13 | "displayName": "Windows 32bit VC6 Release",
|
12 |
| - "generator": "NMake Makefiles", |
| 14 | + "generator": "Ninja", |
13 | 15 | "hidden": false,
|
14 | 16 | "binaryDir": "${sourceDir}/build/${presetName}",
|
15 |
| - "cacheVariables": { |
| 17 | + "toolchainFile": "${sourceDir}/cmake/vc6toolchain.cmake", |
| 18 | + "cacheVariables": |
| 19 | + { |
| 20 | + "CMAKE_VERBOSE_MAKEFILE": "TRUE", |
16 | 21 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
17 | 22 | "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
|
18 |
| - "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:ProgramDatabase>", |
| 23 | + "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>", |
19 | 24 | "CMAKE_BUILD_TYPE": "Release",
|
20 | 25 | "RTS_FLAGS": "/W3"
|
21 | 26 | },
|
22 |
| - "vendor": { |
23 |
| - "jetbrains.com/clion": { |
| 27 | + "vendor": |
| 28 | + { |
| 29 | + "jetbrains.com/clion": |
| 30 | + { |
24 | 31 | "toolchain": "Visual Studio 6"
|
25 | 32 | }
|
26 | 33 | }
|
|
30 | 37 | "displayName": "Windows 32bit VC6 Profile",
|
31 | 38 | "hidden": false,
|
32 | 39 | "inherits": "vc6",
|
33 |
| - "cacheVariables": { |
| 40 | + "cacheVariables": |
| 41 | + { |
34 | 42 | "RTS_BUILD_OPTION_PROFILE": "ON"
|
35 | 43 | }
|
36 | 44 | },
|
37 | 45 | {
|
38 | 46 | "name": "vc6-internal",
|
39 | 47 | "displayName": "Windows 32bit VC6 Internal",
|
40 | 48 | "inherits": "vc6",
|
41 |
| - "cacheVariables": { |
| 49 | + "cacheVariables": |
| 50 | + { |
42 | 51 | "RTS_BUILD_OPTION_INTERNAL": "ON"
|
43 | 52 | }
|
44 | 53 | },
|
|
47 | 56 | "displayName": "Windows 32bit VC6 Debug",
|
48 | 57 | "hidden": false,
|
49 | 58 | "inherits": "vc6",
|
50 |
| - "cacheVariables": { |
| 59 | + "cacheVariables": |
| 60 | + { |
51 | 61 | "CMAKE_BUILD_TYPE": "Debug",
|
52 | 62 | "RTS_BUILD_OPTION_DEBUG": "ON"
|
53 | 63 | }
|
|
58 | 68 | "generator": "Ninja Multi-Config",
|
59 | 69 | "hidden": true,
|
60 | 70 | "binaryDir": "${sourceDir}/build/${presetName}",
|
61 |
| - "cacheVariables": { |
| 71 | + "cacheVariables": |
| 72 | + { |
62 | 73 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
63 | 74 | "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>",
|
64 | 75 | "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL"
|
|
70 | 81 | "generator": "Ninja Multi-Config",
|
71 | 82 | "hidden": true,
|
72 | 83 | "binaryDir": "${sourceDir}/build/${presetName}",
|
73 |
| - "cacheVariables": { |
| 84 | + "cacheVariables": |
| 85 | + { |
74 | 86 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
|
75 | 87 | "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:Embedded>",
|
76 | 88 | "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL",
|
|
82 | 94 | "inherits": "default",
|
83 | 95 | "hidden": false,
|
84 | 96 | "displayName": "Windows 32bit Release",
|
85 |
| - "architecture": { |
| 97 | + "architecture": |
| 98 | + { |
86 | 99 | "value": "Win32",
|
87 | 100 | "strategy": "external"
|
88 | 101 | },
|
89 |
| - "cacheVariables": { |
| 102 | + "cacheVariables": |
| 103 | + { |
90 | 104 | "RTS_FLAGS": "/W3"
|
91 | 105 | },
|
92 |
| - "vendor": { |
93 |
| - "jetbrains.com/clion": { |
| 106 | + "vendor": |
| 107 | + { |
| 108 | + "jetbrains.com/clion": |
| 109 | + { |
94 | 110 | "toolchain": "Visual Studio"
|
95 | 111 | }
|
96 | 112 | }
|
|
99 | 115 | "name": "win32-profile",
|
100 | 116 | "inherits": "win32",
|
101 | 117 | "displayName": "Windows 32bit Profile",
|
102 |
| - "cacheVariables": { |
| 118 | + "cacheVariables": |
| 119 | + { |
103 | 120 | "RTS_BUILD_OPTION_PROFILE": "ON"
|
104 | 121 | }
|
105 | 122 | },
|
106 | 123 | {
|
107 | 124 | "name": "win32-internal",
|
108 | 125 | "inherits": "win32",
|
109 | 126 | "displayName": "Windows 32bit Internal",
|
110 |
| - "cacheVariables": { |
| 127 | + "cacheVariables": |
| 128 | + { |
111 | 129 | "RTS_BUILD_OPTION_INTERNAL": "ON"
|
112 | 130 | }
|
113 | 131 | },
|
114 | 132 | {
|
115 | 133 | "name": "win32-debug",
|
116 | 134 | "inherits": "win32",
|
117 | 135 | "displayName": "Windows 32bit Debug",
|
118 |
| - "cacheVariables": { |
| 136 | + "cacheVariables": |
| 137 | + { |
119 | 138 | "RTS_BUILD_OPTION_DEBUG": "ON"
|
120 | 139 | }
|
121 | 140 | },
|
|
124 | 143 | "inherits": "default-vcpkg",
|
125 | 144 | "hidden": false,
|
126 | 145 | "displayName": "Windows 32bit VCPKG Release",
|
127 |
| - "architecture": { |
| 146 | + "architecture": |
| 147 | + { |
128 | 148 | "value": "Win32",
|
129 | 149 | "strategy": "external"
|
130 | 150 | },
|
131 |
| - "cacheVariables": { |
| 151 | + "cacheVariables": |
| 152 | + { |
132 | 153 | "RTS_FLAGS": "/W3"
|
133 | 154 | },
|
134 |
| - "vendor": { |
135 |
| - "jetbrains.com/clion": { |
| 155 | + "vendor": |
| 156 | + { |
| 157 | + "jetbrains.com/clion": |
| 158 | + { |
136 | 159 | "toolchain": "Visual Studio"
|
137 | 160 | }
|
138 | 161 | }
|
|
141 | 164 | "name": "win32-vcpkg-profile",
|
142 | 165 | "inherits": "win32-vcpkg",
|
143 | 166 | "displayName": "Windows 32bit VCPKG Profile",
|
144 |
| - "cacheVariables": { |
| 167 | + "cacheVariables": |
| 168 | + { |
145 | 169 | "RTS_BUILD_OPTION_PROFILE": "ON"
|
146 | 170 | }
|
147 | 171 | },
|
148 | 172 | {
|
149 | 173 | "name": "win32-vcpkg-internal",
|
150 | 174 | "inherits": "win32-vcpkg",
|
151 | 175 | "displayName": "Windows 32bit VCPKG Internal",
|
152 |
| - "cacheVariables": { |
| 176 | + "cacheVariables": |
| 177 | + { |
153 | 178 | "RTS_BUILD_OPTION_INTERNAL": "ON"
|
154 | 179 | }
|
155 | 180 | },
|
156 | 181 | {
|
157 | 182 | "name": "win32-vcpkg-debug",
|
158 | 183 | "inherits": "win32-vcpkg",
|
159 | 184 | "displayName": "Windows 32bit VCPKG Debug",
|
160 |
| - "cacheVariables": { |
| 185 | + "cacheVariables": |
| 186 | + { |
161 | 187 | "RTS_BUILD_OPTION_DEBUG": "ON"
|
162 | 188 | }
|
163 | 189 | },
|
|
168 | 194 | "displayName": "Unix 32bit VCPKG Release"
|
169 | 195 | }
|
170 | 196 | ],
|
171 |
| - "buildPresets": [ |
| 197 | + "buildPresets": |
| 198 | + [ |
172 | 199 | {
|
173 | 200 | "name": "vc6",
|
174 | 201 | "configurePreset": "vc6",
|
|
257 | 284 | "configuration": "Release"
|
258 | 285 | }
|
259 | 286 | ],
|
260 |
| - "workflowPresets": [ |
| 287 | + "workflowPresets": |
| 288 | + [ |
261 | 289 | {
|
262 | 290 | "name": "vc6",
|
263 |
| - "steps": [ |
| 291 | + "steps": |
| 292 | + [ |
264 | 293 | {
|
265 | 294 | "type": "configure",
|
266 | 295 | "name": "vc6"
|
|
273 | 302 | },
|
274 | 303 | {
|
275 | 304 | "name": "vc6-debug",
|
276 |
| - "steps": [ |
| 305 | + "steps": |
| 306 | + [ |
277 | 307 | {
|
278 | 308 | "type": "configure",
|
279 | 309 | "name": "vc6-debug"
|
|
286 | 316 | },
|
287 | 317 | {
|
288 | 318 | "name": "vc6-internal",
|
289 |
| - "steps": [ |
| 319 | + "steps": |
| 320 | + [ |
290 | 321 | {
|
291 | 322 | "type": "configure",
|
292 | 323 | "name": "vc6-internal"
|
|
299 | 330 | },
|
300 | 331 | {
|
301 | 332 | "name": "vc6-profile",
|
302 |
| - "steps": [ |
| 333 | + "steps": |
| 334 | + [ |
303 | 335 | {
|
304 | 336 | "type": "configure",
|
305 | 337 | "name": "vc6-profile"
|
|
312 | 344 | },
|
313 | 345 | {
|
314 | 346 | "name": "win32",
|
315 |
| - "steps": [ |
| 347 | + "steps": |
| 348 | + [ |
316 | 349 | {
|
317 | 350 | "type": "configure",
|
318 | 351 | "name": "win32"
|
|
325 | 358 | },
|
326 | 359 | {
|
327 | 360 | "name": "win32-internal",
|
328 |
| - "steps": [ |
| 361 | + "steps": |
| 362 | + [ |
329 | 363 | {
|
330 | 364 | "type": "configure",
|
331 | 365 | "name": "win32-internal"
|
|
338 | 372 | },
|
339 | 373 | {
|
340 | 374 | "name": "win32-profile",
|
341 |
| - "steps": [ |
| 375 | + "steps": |
| 376 | + [ |
342 | 377 | {
|
343 | 378 | "type": "configure",
|
344 | 379 | "name": "win32-profile"
|
|
351 | 386 | },
|
352 | 387 | {
|
353 | 388 | "name": "win32-debug",
|
354 |
| - "steps": [ |
| 389 | + "steps": |
| 390 | + [ |
355 | 391 | {
|
356 | 392 | "type": "configure",
|
357 | 393 | "name": "win32-debug"
|
|
364 | 400 | },
|
365 | 401 | {
|
366 | 402 | "name": "win32-vcpkg",
|
367 |
| - "steps": [ |
| 403 | + "steps": |
| 404 | + [ |
368 | 405 | {
|
369 | 406 | "type": "configure",
|
370 | 407 | "name": "win32-vcpkg"
|
|
377 | 414 | },
|
378 | 415 | {
|
379 | 416 | "name": "win32-vcpkg-internal",
|
380 |
| - "steps": [ |
| 417 | + "steps": |
| 418 | + [ |
381 | 419 | {
|
382 | 420 | "type": "configure",
|
383 | 421 | "name": "win32-vcpkg-internal"
|
|
390 | 428 | },
|
391 | 429 | {
|
392 | 430 | "name": "win32-vcpkg-profile",
|
393 |
| - "steps": [ |
| 431 | + "steps": |
| 432 | + [ |
394 | 433 | {
|
395 | 434 | "type": "configure",
|
396 | 435 | "name": "win32-vcpkg-profile"
|
|
403 | 442 | },
|
404 | 443 | {
|
405 | 444 | "name": "win32-vcpkg-debug",
|
406 |
| - "steps": [ |
| 445 | + "steps": |
| 446 | + [ |
407 | 447 | {
|
408 | 448 | "type": "configure",
|
409 | 449 | "name": "win32-vcpkg-debug"
|
|
416 | 456 | },
|
417 | 457 | {
|
418 | 458 | "name": "unix",
|
419 |
| - "steps": [ |
| 459 | + "steps": |
| 460 | + [ |
420 | 461 | {
|
421 | 462 | "type": "configure",
|
422 | 463 | "name": "unix"
|
|
0 commit comments