|
8 | 8 | "configurePresets": [ |
9 | 9 | { |
10 | 10 | "name": "vc6", |
11 | | - "displayName": "Build Zero Hour Binaries with NMake", |
| 11 | + "displayName": "Build Binaries with NMake", |
12 | 12 | "generator": "NMake Makefiles", |
13 | 13 | "hidden": false, |
14 | 14 | "binaryDir": "${sourceDir}/build/${presetName}", |
15 | 15 | "cacheVariables": { |
16 | 16 | "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", |
17 | | - "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL", |
| 17 | + "CMAKE_MSVC_RUNTIME_LIBRARY": "MultiThreaded$<$<CONFIG:Debug>:Debug>DLL", |
| 18 | + "CMAKE_MSVC_DEBUG_INFORMATION_FORMAT": "$<$<CONFIG:Release,Debug,RelWithDebInfo>:ProgramDatabase>", |
18 | 19 | "CMAKE_BUILD_TYPE": "Release", |
19 | 20 | "GENZH_FLAGS": "/W3" |
20 | 21 | } |
21 | 22 | }, |
| 23 | + { |
| 24 | + "name": "vc6prof", |
| 25 | + "displayName": "Build Profiling Binaries with NMake", |
| 26 | + "hidden": false, |
| 27 | + "inherits": "vc6", |
| 28 | + "cacheVariables": { |
| 29 | + "GENZH_BUILD_PROFILE": "ON" |
| 30 | + } |
| 31 | + }, |
| 32 | + { |
| 33 | + "name": "vc6int", |
| 34 | + "displayName": "Build Internal Binaries with NMake", |
| 35 | + "inherits": "vc6", |
| 36 | + "cacheVariables": { |
| 37 | + "GENZH_BUILD_INTERNAL": "ON" |
| 38 | + } |
| 39 | + }, |
| 40 | + { |
| 41 | + "name": "vc6debug", |
| 42 | + "displayName": "Build Debug Binaries with NMake", |
| 43 | + "hidden": false, |
| 44 | + "inherits": "vc6", |
| 45 | + "cacheVariables": { |
| 46 | + "CMAKE_BUILD_TYPE": "Debug" |
| 47 | + } |
| 48 | + }, |
22 | 49 | { |
23 | 50 | "name": "default", |
24 | | - "displayName": "Default Config", |
| 51 | + "displayName": "Default Config (don't use directly!)", |
25 | 52 | "generator": "Ninja Multi-Config", |
26 | 53 | "hidden": true, |
27 | 54 | "binaryDir": "${sourceDir}/build/${presetName}", |
|
32 | 59 | } |
33 | 60 | }, |
34 | 61 | { |
35 | | - "name": "win32", |
| 62 | + "name": "msvc32", |
36 | 63 | "architecture": "Win32", |
37 | 64 | "inherits": "default", |
| 65 | + "generator": "Visual Studio 17 2022", |
| 66 | + "hidden": false, |
| 67 | + "displayName": "Visual Studio Win32 build", |
| 68 | + "cacheVariables": { |
| 69 | + "GENZH_FLAGS": "/W3" |
| 70 | + } |
| 71 | + }, |
| 72 | + { |
| 73 | + "name": "msvc32prof", |
| 74 | + "inherits": "msvc32", |
| 75 | + "displayName": "Visual Studio Win32 Profile build", |
| 76 | + "cacheVariables": { |
| 77 | + "GENZH_BUILD_PROFILE": "ON" |
| 78 | + } |
| 79 | + }, |
| 80 | + { |
| 81 | + "name": "msvc32int", |
| 82 | + "inherits": "msvc32", |
| 83 | + "displayName": "Visual Studio Win32 Internal build", |
| 84 | + "cacheVariables": { |
| 85 | + "GENZH_BUILD_INTERNAL": "ON" |
| 86 | + } |
| 87 | + }, |
| 88 | + { |
| 89 | + "name": "msvc32debug", |
| 90 | + "inherits": "msvc32", |
| 91 | + "displayName": "Visual Studio Win32 Debug build", |
| 92 | + "cacheVariables": { |
| 93 | + "CMAKE_BUILD_TYPE": "Debug" |
| 94 | + } |
| 95 | + }, |
| 96 | + { |
| 97 | + "name": "win32", |
| 98 | + "inherits": "default", |
38 | 99 | "hidden": false, |
39 | 100 | "displayName": "Win32 build", |
40 | 101 | "cacheVariables": { |
|
53 | 114 | } |
54 | 115 | ], |
55 | 116 | "buildPresets": [ |
| 117 | + { |
| 118 | + "name": "vc6", |
| 119 | + "configurePreset": "vc6", |
| 120 | + "displayName": "Build VC6 Windows build", |
| 121 | + "description": "Build VC6 Windows build" |
| 122 | + }, |
56 | 123 | { |
57 | 124 | "name": "win32", |
58 | 125 | "configurePreset": "win32", |
|
69 | 136 | } |
70 | 137 | ], |
71 | 138 | "workflowPresets": [ |
| 139 | + { |
| 140 | + "name": "vc6", |
| 141 | + "steps": [ |
| 142 | + { |
| 143 | + "type": "configure", |
| 144 | + "name": "vc6" |
| 145 | + }, |
| 146 | + { |
| 147 | + "type": "build", |
| 148 | + "name": "vc6" |
| 149 | + } |
| 150 | + ] |
| 151 | + }, |
72 | 152 | { |
73 | 153 | "name": "win32", |
74 | 154 | "steps": [ |
|
0 commit comments