-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakePresets.json
More file actions
55 lines (51 loc) · 1.46 KB
/
CMakePresets.json
File metadata and controls
55 lines (51 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"version": 8,
"configurePresets": [
{
"name": "vs2026-x64",
"generator": "Visual Studio 18 2026",
"architecture": "x64",
"binaryDir": "${sourceDir}/builds/${presetName}",
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
},
{
"name": "vs2026-x64-static",
"inherits": "vs2026-x64",
"displayName": "VS2026 x64 (Static zlib/libcurl)",
"description": "Use vcpkg static triplet for zlib/libcurl only",
"cacheVariables": {
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "vs2026-x64",
"displayName": "Build (Debug)",
"description": "Build with vsbuild/vcpkg (Debug)",
"configuration": "Debug"
},
{
"name": "release",
"configurePreset": "vs2026-x64",
"displayName": "Build (Release)",
"description": "Build with vsbuild/vcpkg (Release)",
"configuration": "Release"
},
{
"name": "debug-static",
"configurePreset": "vs2026-x64-static",
"displayName": "Build (Static Debug)",
"description": "Build with static zlib/libcurl (Debug)",
"configuration": "Debug"
},
{
"name": "release-static",
"configurePreset": "vs2026-x64-static",
"displayName": "Build (Static Release)",
"description": "Build with static zlib/libcurl (Release)",
"configuration": "Release"
}
]
}