| 1 |
{ |
| 2 |
"version": 3, |
| 3 |
"configurePresets": [ |
| 4 |
{ |
| 5 |
"name": "msvc-base", |
| 6 |
"hidden": true, |
| 7 |
"binaryDir": "${sourceDir}/out/build/${presetName}", |
| 8 |
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", |
| 9 |
"cacheVariables": { |
| 10 |
"ENABLE_FLUIDSYNTH": "OFF" |
| 11 |
} |
| 12 |
}, |
| 13 |
{ |
| 14 |
"name": "vs2022", |
| 15 |
"inherits": "msvc-base", |
| 16 |
"displayName": "Visual Studio 2022 (x64)", |
| 17 |
"description": "MSVC build with dependencies from vcpkg. Requires VCPKG_ROOT to be set.", |
| 18 |
"generator": "Visual Studio 17 2022", |
| 19 |
"architecture": { "value": "x64", "strategy": "set" } |
| 20 |
}, |
| 21 |
{ |
| 22 |
"name": "vs2026", |
| 23 |
"inherits": "msvc-base", |
| 24 |
"displayName": "Visual Studio 2026 (x64)", |
| 25 |
"description": "As vs2022, for Visual Studio 2026. Needs a CMake new enough to know this generator (4.0+).", |
| 26 |
"generator": "Visual Studio 18 2026", |
| 27 |
"architecture": { "value": "x64", "strategy": "set" } |
| 28 |
}, |
| 29 |
{ |
| 30 |
"name": "ninja", |
| 31 |
"inherits": "msvc-base", |
| 32 |
"displayName": "Ninja Multi-Config (x64)", |
| 33 |
"description": "Faster local builds. Run from a Developer Command Prompt so the MSVC toolchain is on PATH.", |
| 34 |
"generator": "Ninja Multi-Config" |
| 35 |
} |
| 36 |
], |
| 37 |
"buildPresets": [ |
| 38 |
{ "name": "vs2022-debug", "configurePreset": "vs2022", "configuration": "Debug" }, |
| 39 |
{ "name": "vs2022-release","configurePreset": "vs2022", "configuration": "Release" }, |
| 40 |
{ "name": "vs2026-debug", "configurePreset": "vs2026", "configuration": "Debug" }, |
| 41 |
{ "name": "vs2026-release","configurePreset": "vs2026", "configuration": "Release" }, |
| 42 |
{ "name": "ninja-debug", "configurePreset": "ninja", "configuration": "Debug" }, |
| 43 |
{ "name": "ninja-release", "configurePreset": "ninja", "configuration": "Release" } |
| 44 |
] |
| 45 |
} |