-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
CMakePresets.json
178 lines (178 loc) · 4.45 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"version": 8,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "base",
"hidden": true,
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"CMAKE_SYSTEM_VERSION": "10.0.26100.0"
}
},
{
"name": "ninja-x64",
"inherits": "base",
"displayName": "Ninja x64",
"generator": "Ninja Multi-Config",
"binaryDir": "build",
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "v143,host=x64",
"strategy": "external"
},
"environment": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"cacheVariables": {
"MSVC": "true",
"MSVC_TOOLSET_VERSION": "143",
"CMAKE_CXX_COMPILER": "cl.exe",
"CMAKE_CXX_FLAGS": "/DWIN32 /D_WINDOWS /EHsc",
"CMAKE_EXE_LINKER_FLAGS": "/machine:x64",
"CMAKE_MODULE_LINKER_FLAGS": "/machine:x64"
}
},
{
"name": "ninja-x86",
"inherits": "base",
"displayName": "Ninja x86",
"generator": "Ninja Multi-Config",
"binaryDir": "build32",
"architecture": {
"value": "x86",
"strategy": "external"
},
"toolset": {
"value": "v143,host=x86",
"strategy": "external"
},
"environment": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
},
"cacheVariables": {
"MSVC": "true",
"MSVC_TOOLSET_VERSION": "143",
"CMAKE_CXX_COMPILER": "cl.exe",
"CMAKE_CXX_FLAGS": "/DWIN32 /D_WINDOWS /EHsc",
"CMAKE_EXE_LINKER_FLAGS": "/machine:X86",
"CMAKE_MODULE_LINKER_FLAGS": "/machine:X86"
}
},
{
"name": "vs-x64",
"displayName": "Visual Studio x64",
"inherits": "base",
"generator": "Visual Studio 17 2022",
"binaryDir": "build.vs",
"architecture": {
"value": "x64",
"strategy": "set"
},
"toolset": {
"value": "v143,host=x64",
"strategy": "set"
}
},
{
"name": "vs-x86",
"inherits": "base",
"generator": "Visual Studio 17 2022",
"displayName": "Visual Studio x86",
"binaryDir": "build32.vs",
"architecture": {
"value": "Win32",
"strategy": "set"
},
"toolset": {
"value": "v143,host=x86",
"strategy": "set"
}
}
],
"buildPresets": [
{
"name": "ninja-x64-debug",
"displayName": "Ninja x64 Debug",
"configurePreset": "ninja-x64",
"configuration": "Debug"
},
{
"name": "ninja-x64-release",
"displayName": "Ninja x64 Release",
"configurePreset": "ninja-x64",
"configuration": "Release"
},
{
"name": "ninja-x64-relwithdebinfo",
"displayName": "Ninja x64 RelWithDebInfo",
"configurePreset": "ninja-x64",
"configuration": "RelWithDebInfo"
},
{
"name": "ninja-x86-debug",
"displayName": "Ninja x86 Debug",
"configurePreset": "ninja-x86",
"configuration": "Debug"
},
{
"name": "ninja-x86-release",
"displayName": "Ninja x86 Release",
"configurePreset": "ninja-x86",
"configuration": "Release"
},
{
"name": "ninja-x86-relwithdebinfo",
"displayName": "Ninja x86 RelWithDebInfo",
"configurePreset": "ninja-x86",
"configuration": "RelWithDebInfo"
},
{
"name": "vs-x64-debug",
"displayName": "Visual Studio x64 Debug",
"configurePreset": "vs-x64",
"configuration": "Debug"
},
{
"name": "vs-x64-release",
"displayName": "Visual Studio x64 Release",
"configurePreset": "vs-x64",
"configuration": "Release"
},
{
"name": "vs-x64-relwithdebinfo",
"displayName": "Visual Studio x64 RelWithDebInfo",
"configurePreset": "vs-x64",
"configuration": "RelWithDebInfo"
},
{
"name": "vs-x86-debug",
"displayName": "Visual Studio x86 Debug",
"configurePreset": "vs-x86",
"configuration": "Debug"
},
{
"name": "vs-x86-release",
"displayName": "Visual Studio x86 Release",
"configurePreset": "vs-x86",
"configuration": "Release"
},
{
"name": "vs-x86-relwithdebinfo",
"displayName": "Visual Studio x86 RelWithDebInfo",
"configurePreset": "vs-x64",
"configuration": "RelWithDebInfo"
}
]
}