-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
85 lines (85 loc) · 1.84 KB
/
Copy pathCMakePresets.json
File metadata and controls
85 lines (85 loc) · 1.84 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"version": 6,
"configurePresets": [
{
"name": "base",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
}
},
{
"name": "ninja-base",
"hidden": true,
"inherits": "base",
"generator": "Ninja Multi-Config",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "host=x64",
"strategy": "external"
}
},
{
"name": "vs-base",
"hidden": true,
"inherits": "base",
"generator": "Visual Studio 18 2026",
"architecture": "x64"
},
{
"name": "static-base",
"hidden": true,
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "C:/dev/vcpkg/scripts/buildsystems/vcpkg.cmake",
"VCPKG_TARGET_TRIPLET": "x64-windows-static"
}
},
{
"name": "shared-base",
"hidden": true,
"cacheVariables": {
"CMAKE_PREFIX_PATH": "C:/Qt/6.11.1/msvc2022_64",
"CMAKE_VS_GLOBALS": "VcpkgEnabled=false"
}
},
{
"name": "ninja-static",
"inherits": ["ninja-base", "static-base"]
},
{
"name": "ninja-shared",
"inherits": ["ninja-base", "shared-base"]
},
{
"name": "vs-static",
"inherits": ["vs-base", "static-base"]
},
{
"name": "vs-shared",
"inherits": ["vs-base", "shared-base"]
}
],
"buildPresets": [
{
"name": "ninja-static",
"configurePreset": "ninja-static"
},
{
"name": "ninja-shared",
"configurePreset": "ninja-shared"
},
{
"name": "vs-static",
"configurePreset": "vs-static"
},
{
"name": "vs-shared",
"configurePreset": "vs-shared"
}
]
}