11{
2- "version" : 8 ,
3- "cmakeMinimumRequired" : {
4- "major" : 3 ,
5- "minor" : 21 ,
6- "patch" : 0
2+ "version" : 8 ,
3+
4+ "configurePresets" : [
5+ {
6+ "name" : " vs2026-x64" ,
7+ "generator" : " Visual Studio 17 2022" ,
8+ "architecture" : " x64" ,
9+ "binaryDir" : " ${sourceDir}/builds/${presetName}" ,
10+ "toolchainFile" : " ${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
711 },
8- "configurePresets" : [
9- {
10- "name" : " ninja-multi-vcpkg" ,
11- "displayName" : " Ninja Multi-Config" ,
12- "description" : " Configure with vcpkg toolchain and generate Ninja project files for all configurations" ,
13- "binaryDir" : " ${sourceDir}/builds/${presetName}" ,
14- "generator" : " Ninja Multi-Config" ,
15- "toolchainFile" : " ${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
16- }
17- ],
18- "buildPresets" : [
19- {
20- "name" : " ninja-vcpkg-debug" ,
21- "configurePreset" : " ninja-multi-vcpkg" ,
22- "displayName" : " Build (Debug)" ,
23- "description" : " Build with Ninja/vcpkg (Debug)" ,
24- "configuration" : " Debug"
25- },
26- {
27- "name" : " ninja-vcpkg-release" ,
28- "configurePreset" : " ninja-multi-vcpkg" ,
29- "displayName" : " Build (Release)" ,
30- "description" : " Build with Ninja/vcpkg (Release)" ,
31- "configuration" : " Release"
32- }
33- ]
34- }
12+
13+ {
14+ "name" : " vs2026-x64-static" ,
15+ "inherits" : " vs2026-x64" ,
16+ "displayName" : " VS2026 x64 (Static zlib/libcurl)" ,
17+ "description" : " Use vcpkg static triplet for zlib/libcurl only" ,
18+ "cacheVariables" : {
19+ "VCPKG_TARGET_TRIPLET" : " x64-windows-static"
20+ }
21+ }
22+ ],
23+
24+ "buildPresets" : [
25+ {
26+ "name" : " debug" ,
27+ "configurePreset" : " vs2026-x64" ,
28+ "displayName" : " Build (Debug)" ,
29+ "description" : " Build with vsbuild/vcpkg (Debug)" ,
30+ "configuration" : " Debug"
31+ },
32+ {
33+ "name" : " release" ,
34+ "configurePreset" : " vs2026-x64" ,
35+ "displayName" : " Build (Release)" ,
36+ "description" : " Build with vsbuild/vcpkg (Release)" ,
37+ "configuration" : " Release"
38+ },
39+
40+ {
41+ "name" : " debug-static" ,
42+ "configurePreset" : " vs2026-x64-static" ,
43+ "displayName" : " Build (Static Debug)" ,
44+ "description" : " Build with static zlib/libcurl (Debug)" ,
45+ "configuration" : " Debug"
46+ },
47+ {
48+ "name" : " release-static" ,
49+ "configurePreset" : " vs2026-x64-static" ,
50+ "displayName" : " Build (Static Release)" ,
51+ "description" : " Build with static zlib/libcurl (Release)" ,
52+ "configuration" : " Release"
53+ }
54+ ]
55+ }
0 commit comments