|
| 1 | +{ |
| 2 | + "version": 3, |
| 3 | + "cmakeMinimumRequired": { |
| 4 | + "major": 3, |
| 5 | + "minor": 19, |
| 6 | + "patch": 0 |
| 7 | + }, |
| 8 | + "configurePresets": [ |
| 9 | + { |
| 10 | + "name": "base-mingw", |
| 11 | + "hidden": true, |
| 12 | + "generator": "Ninja", |
| 13 | + "cacheVariables": { |
| 14 | + "CMAKE_TOOLCHAIN_FILE": { |
| 15 | + "type": "FILEPATH", |
| 16 | + "value": "${sourceDir}/toolchain-gcc.cmake" |
| 17 | + }, |
| 18 | + "ENABLE_CCACHE": { |
| 19 | + "type": "BOOL", |
| 20 | + "value": "OFF" |
| 21 | + } |
| 22 | + } |
| 23 | + }, |
| 24 | + { |
| 25 | + "name": "base-msvc", |
| 26 | + "hidden": true, |
| 27 | + "generator": "Ninja", |
| 28 | + "cacheVariables": { |
| 29 | + "CMAKE_TOOLCHAIN_FILE": { |
| 30 | + "type": "FILEPATH", |
| 31 | + "value": "${sourceDir}/toolchain-msvc.cmake" |
| 32 | + } |
| 33 | + } |
| 34 | + }, |
| 35 | + { |
| 36 | + "name": "base-clang-cl", |
| 37 | + "hidden": true, |
| 38 | + "inherits": "base-msvc", |
| 39 | + "cacheVariables": { |
| 40 | + "USE_CLANG_CL": { |
| 41 | + "type": "BOOL", |
| 42 | + "value": "ON" |
| 43 | + } |
| 44 | + } |
| 45 | + }, |
| 46 | + { |
| 47 | + "name": "base-clang", |
| 48 | + "hidden": true, |
| 49 | + "generator": "Ninja", |
| 50 | + "cacheVariables": { |
| 51 | + "CMAKE_TOOLCHAIN_FILE": { |
| 52 | + "type": "FILEPATH", |
| 53 | + "value": "${sourceDir}/toolchain-clang.cmake" |
| 54 | + } |
| 55 | + } |
| 56 | + }, |
| 57 | + { |
| 58 | + "name": "base-debug", |
| 59 | + "hidden": true, |
| 60 | + "cacheVariables": { |
| 61 | + "CMAKE_BUILD_TYPE": "Debug" |
| 62 | + } |
| 63 | + }, |
| 64 | + { |
| 65 | + "name": "base-release", |
| 66 | + "hidden": true, |
| 67 | + "cacheVariables": { |
| 68 | + "CMAKE_BUILD_TYPE": "Release" |
| 69 | + } |
| 70 | + }, |
| 71 | + { |
| 72 | + "name": "arch-i386", |
| 73 | + "hidden": true, |
| 74 | + "cacheVariables": { |
| 75 | + "ARCH": "i386" |
| 76 | + } |
| 77 | + }, |
| 78 | + { |
| 79 | + "name": "arch-amd64", |
| 80 | + "hidden": true, |
| 81 | + "cacheVariables": { |
| 82 | + "ARCH": "amd64" |
| 83 | + } |
| 84 | + }, |
| 85 | + { |
| 86 | + "name": "arch-arm", |
| 87 | + "hidden": true, |
| 88 | + "cacheVariables": { |
| 89 | + "ARCH": "arm" |
| 90 | + } |
| 91 | + }, |
| 92 | + { |
| 93 | + "name": "arch-arm64", |
| 94 | + "hidden": true, |
| 95 | + "cacheVariables": { |
| 96 | + "ARCH": "arm64" |
| 97 | + } |
| 98 | + }, |
| 99 | + { |
| 100 | + "name": "mingw-i386-debug", |
| 101 | + "displayName": "MinGW Ninja i386 (Debug)", |
| 102 | + "description": "GCC build using Ninja for i386 (Debug)", |
| 103 | + "inherits": ["base-mingw", "base-debug", "arch-i386"], |
| 104 | + "binaryDir": "${sourceDir}/output-MinGW-i386" |
| 105 | + }, |
| 106 | + { |
| 107 | + "name": "mingw-amd64-debug", |
| 108 | + "displayName": "MinGW Ninja amd64 (Debug)", |
| 109 | + "description": "GCC build using Ninja for amd64 (Debug)", |
| 110 | + "inherits": ["base-mingw", "base-debug", "arch-amd64"], |
| 111 | + "binaryDir": "${sourceDir}/output-MinGW-amd64" |
| 112 | + }, |
| 113 | + { |
| 114 | + "name": "msvc-i386-debug", |
| 115 | + "displayName": "MSVC Ninja i386 (Debug)", |
| 116 | + "description": "MSVC build using Ninja for i386 (Debug)", |
| 117 | + "inherits": ["base-msvc", "arch-i386"], |
| 118 | + "binaryDir": "${sourceDir}/output-VS-i386" |
| 119 | + }, |
| 120 | + { |
| 121 | + "name": "msvc-amd64-debug", |
| 122 | + "displayName": "MSVC Ninja amd64 (Debug)", |
| 123 | + "description": "MSVC build using Ninja for amd64 (Debug)", |
| 124 | + "inherits": ["base-msvc", "base-debug", "arch-amd64"], |
| 125 | + "binaryDir": "${sourceDir}/output-VS-amd64" |
| 126 | + }, |
| 127 | + { |
| 128 | + "name": "msvc-arm-debug", |
| 129 | + "displayName": "MSVC Ninja ARM (Debug)", |
| 130 | + "description": "MSVC build using Ninja for ARM (Debug)", |
| 131 | + "inherits": ["base-msvc", "base-debug", "arch-arm"], |
| 132 | + "binaryDir": "${sourceDir}/output-VS-arm" |
| 133 | + }, |
| 134 | + { |
| 135 | + "name": "msvc-arm64-debug", |
| 136 | + "displayName": "MSVC Ninja ARM64 (Debug)", |
| 137 | + "description": "MSVC build using Ninja for ARM64 (Debug)", |
| 138 | + "inherits": ["base-msvc", "base-debug", "arch-arm64"], |
| 139 | + "binaryDir": "${sourceDir}/output-VS-arm64" |
| 140 | + }, |
| 141 | + { |
| 142 | + "name": "clang-cl-i386-debug", |
| 143 | + "displayName": "Clang-cl Ninja i386 (Debug)", |
| 144 | + "description": "Clang-cl build for i386 using Ninja (Debug)", |
| 145 | + "inherits": ["base-clang-cl", "base-debug", "arch-i386"], |
| 146 | + "binaryDir": "${sourceDir}/output-VS-i386" |
| 147 | + }, |
| 148 | + { |
| 149 | + "name": "clang-i386-debug", |
| 150 | + "displayName": "LLVM Clang Ninja i386 (Debug)", |
| 151 | + "description": "LLVM Clang build for i386 using Ninja (Debug)", |
| 152 | + "inherits": ["base-clang", "base-debug", "arch-i386"], |
| 153 | + "binaryDir": "${sourceDir}/output-Clang-i386" |
| 154 | + }, |
| 155 | + { |
| 156 | + "name": "clang-amd64-debug", |
| 157 | + "displayName": "LLVM Clang Ninja amd64 (Debug)", |
| 158 | + "description": "LLVM Clang build for amd64 using Ninja (Debug)", |
| 159 | + "inherits": ["base-clang", "base-debug", "arch-amd64"], |
| 160 | + "binaryDir": "${sourceDir}/output-Clang-amd64" |
| 161 | + }, |
| 162 | + { |
| 163 | + "name": "clang-arm-debug", |
| 164 | + "displayName": "LLVM Clang Ninja arm (Debug)", |
| 165 | + "description": "LLVM Clang build for ARM using Ninja (Debug)", |
| 166 | + "inherits": ["base-clang", "base-debug", "arch-arm"], |
| 167 | + "binaryDir": "${sourceDir}/output-Clang-arm" |
| 168 | + }, |
| 169 | + { |
| 170 | + "name": "clang-arm64-debug", |
| 171 | + "displayName": "LLVM Clang Ninja arm64 (Debug)", |
| 172 | + "description": "LLVM Clang build for ARM64 using Ninja (Debug)", |
| 173 | + "inherits": ["base-clang", "base-debug", "arch-arm64"], |
| 174 | + "binaryDir": "${sourceDir}/output-Clang-arm64" |
| 175 | + }, |
| 176 | + { |
| 177 | + "name": "mingw-i386-release", |
| 178 | + "displayName": "MinGW Ninja i386 (Release)", |
| 179 | + "description": "GCC build using Ninja for i386 (Release)", |
| 180 | + "inherits": ["base-mingw", "base-release", "arch-i386"], |
| 181 | + "binaryDir": "${sourceDir}/output-MinGW-i386" |
| 182 | + }, |
| 183 | + { |
| 184 | + "name": "mingw-amd64-release", |
| 185 | + "displayName": "MinGW Ninja amd64 (Release)", |
| 186 | + "description": "GCC build using Ninja for amd64 (Release)", |
| 187 | + "inherits": ["base-mingw", "base-release", "arch-amd64"], |
| 188 | + "binaryDir": "${sourceDir}/output-MinGW-amd64" |
| 189 | + }, |
| 190 | + { |
| 191 | + "name": "msvc-i386-release", |
| 192 | + "displayName": "MSVC Ninja i386 (Release)", |
| 193 | + "description": "MSVC build using Ninja for i386 (Release)", |
| 194 | + "inherits": ["base-msvc", "base-release", "arch-i386"], |
| 195 | + "binaryDir": "${sourceDir}/output-VS-i386" |
| 196 | + }, |
| 197 | + { |
| 198 | + "name": "msvc-amd64-release", |
| 199 | + "displayName": "MSVC Ninja amd64 (Release)", |
| 200 | + "description": "MSVC build using Ninja for amd64 (Release)", |
| 201 | + "inherits": ["base-msvc", "base-release", "arch-amd64"], |
| 202 | + "binaryDir": "${sourceDir}/output-VS-amd64" |
| 203 | + }, |
| 204 | + { |
| 205 | + "name": "msvc-arm-release", |
| 206 | + "displayName": "MSVC Ninja ARM (Release)", |
| 207 | + "description": "MSVC build using Ninja for ARM (Release)", |
| 208 | + "inherits": ["base-msvc", "base-release", "arch-arm"], |
| 209 | + "binaryDir": "${sourceDir}/output-VS-arm" |
| 210 | + }, |
| 211 | + { |
| 212 | + "name": "msvc-arm64-release", |
| 213 | + "displayName": "MSVC Ninja ARM64 (Release)", |
| 214 | + "description": "MSVC build using Ninja for ARM64 (Release)", |
| 215 | + "inherits": ["base-msvc", "base-release", "arch-arm64"], |
| 216 | + "binaryDir": "${sourceDir}/output-VS-arm64" |
| 217 | + }, |
| 218 | + { |
| 219 | + "name": "clang-cl-i386-release", |
| 220 | + "displayName": "Clang-cl Ninja i386 (Release)", |
| 221 | + "description": "Clang-cl build for i386 using Ninja (Release)", |
| 222 | + "inherits": ["base-clang-cl", "base-release", "arch-i386"], |
| 223 | + "binaryDir": "${sourceDir}/output-VS-i386" |
| 224 | + }, |
| 225 | + { |
| 226 | + "name": "clang-i386-release", |
| 227 | + "displayName": "LLVM Clang Ninja i386 (Release)", |
| 228 | + "description": "LLVM Clang build for i386 using Ninja (Release)", |
| 229 | + "inherits": ["base-clang", "base-release", "arch-i386"], |
| 230 | + "binaryDir": "${sourceDir}/output-Clang-i386" |
| 231 | + }, |
| 232 | + { |
| 233 | + "name": "clang-amd64-release", |
| 234 | + "displayName": "LLVM Clang Ninja amd64 (Release)", |
| 235 | + "description": "LLVM Clang build for amd64 using Ninja (Release)", |
| 236 | + "inherits": ["base-clang", "base-release", "arch-amd64"], |
| 237 | + "binaryDir": "${sourceDir}/output-Clang-amd64" |
| 238 | + }, |
| 239 | + { |
| 240 | + "name": "clang-arm-release", |
| 241 | + "displayName": "LLVM Clang Ninja ARM (Release)", |
| 242 | + "description": "LLVM Clang build for ARM using Ninja (Release)", |
| 243 | + "inherits": ["base-clang", "base-release", "arch-arm"], |
| 244 | + "binaryDir": "${sourceDir}/output-Clang-arm" |
| 245 | + }, |
| 246 | + { |
| 247 | + "name": "clang-arm64-release", |
| 248 | + "displayName": "LLVM Clang Ninja arm64 (Release)", |
| 249 | + "description": "LLVM Clang build for ARM64 using Ninja (Release)", |
| 250 | + "inherits": ["base-clang", "base-release", "arch-arm64"], |
| 251 | + "binaryDir": "${sourceDir}/output-Clang-arm64" |
| 252 | + }, |
| 253 | + { |
| 254 | + "name": "vs2022-sln-i386", |
| 255 | + "displayName": "Visual Studio 2022 Solution i386", |
| 256 | + "description": "Generates a VS 2022 Solution for i386", |
| 257 | + "inherits": ["base-msvc", "arch-i386"], |
| 258 | + "generator": "Visual Studio 17 2022", |
| 259 | + "architecture": { |
| 260 | + "value": "Win32", |
| 261 | + "strategy": "external" |
| 262 | + }, |
| 263 | + "binaryDir": "${sourceDir}/output-VS-i386-sln" |
| 264 | + }, |
| 265 | + { |
| 266 | + "name": "vs2022-sln-amd64", |
| 267 | + "displayName": "Visual Studio 2022 Solution amd64", |
| 268 | + "description": "Generates a VS 2022 Solution for amd64", |
| 269 | + "inherits": ["base-msvc", "arch-amd64"], |
| 270 | + "generator": "Visual Studio 17 2022", |
| 271 | + "architecture": { |
| 272 | + "value": "x64", |
| 273 | + "strategy": "external" |
| 274 | + }, |
| 275 | + "binaryDir": "${sourceDir}/output-VS-amd64-sln" |
| 276 | + }, |
| 277 | + { |
| 278 | + "name": "vs2022-sln-arm", |
| 279 | + "displayName": "Visual Studio 2022 Solution ARM", |
| 280 | + "description": "Generates a VS 2022 Solution for ARM", |
| 281 | + "inherits": ["base-msvc", "arch-arm"], |
| 282 | + "generator": "Visual Studio 17 2022", |
| 283 | + "architecture": { |
| 284 | + "value": "arm", |
| 285 | + "strategy": "external" |
| 286 | + }, |
| 287 | + "binaryDir": "${sourceDir}/output-VS-arm-sln" |
| 288 | + }, |
| 289 | + { |
| 290 | + "name": "vs2022-sln-arm64", |
| 291 | + "displayName": "Visual Studio 2022 Solution ARM64", |
| 292 | + "description": "Generates a VS 2022 Solution for ARM64", |
| 293 | + "inherits": ["base-msvc", "arch-arm64"], |
| 294 | + "generator": "Visual Studio 17 2022", |
| 295 | + "architecture": { |
| 296 | + "value": "arm64", |
| 297 | + "strategy": "external" |
| 298 | + }, |
| 299 | + "binaryDir": "${sourceDir}/output-VS-arm64-sln" |
| 300 | + } |
| 301 | + ] |
| 302 | +} |
0 commit comments