-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCMakePresets.json
93 lines (93 loc) · 2.51 KB
/
CMakePresets.json
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
86
87
88
89
90
91
92
93
{
"version": 4,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "vcpkg",
"displayName": "vcpkg ",
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake",
"binaryDir": "${sourceDir}/build",
"installDir": "${sourceDir}/build/stage",
"cacheVariables": {
"VCPKG_INSTALLED_DIR": "${sourceDir}/build/vcpkg_installed",
"VCPKG_INSTALL_OPTIONS": "--downloads-root=${sourceDir}/build/vcpkg_downloads;--x-buildtrees-root=${sourceDir}/build/vcpkg_buildtrees;--x-packages-root=${sourceDir}/build/vcpkg_packages"
},
"hidden": true
},
{
"name": "Ninja",
"generator": "Ninja",
"architecture": {
"strategy": "external",
"value": "x86"
},
"hidden": true
},
{
"name": "VS-16",
"generator": "Visual Studio 16 2019",
"architecture": {
"strategy": "set",
"value": "Win32"
},
"hidden": true
},
{
"name": "VS-17",
"generator": "Visual Studio 17 2022",
"architecture": {
"strategy": "set",
"value": "Win32"
},
"hidden": true
},
{
"name": "vcpkg-Ninja",
"inherits": [
"vcpkg",
"Ninja"
]
},
{
"name": "vcpkg-VS-16",
"inherits": [
"vcpkg",
"VS-16"
]
},
{
"name": "vcpkg-VS-17",
"inherits": [
"vcpkg",
"VS-17"
]
}
],
"buildPresets": [
{
"name": "VS-16-Debug",
"configurePreset": "vcpkg-VS-16",
"configuration": "Debug",
"jobs": 4,
"nativeToolOptions": ["-m"]
},
{
"name": "VS-17-Debug",
"configurePreset": "vcpkg-VS-17",
"configuration": "Debug",
"jobs": 4,
"nativeToolOptions": ["-m"]
},
{
"name": "VS-17-RelWithDebInfo",
"configurePreset": "vcpkg-VS-17",
"configuration": "RelWithDebInfo",
"jobs": 4,
"nativeToolOptions": ["-m"]
}
]
}