-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakePresets.json
229 lines (229 loc) · 6.73 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"version": 3,
"configurePresets": [
{
"name": "common",
"hidden": true,
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "unix_makefiles",
"hidden": true,
"generator": "Unix Makefiles",
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"inherits": "common"
},
{
"name": "emscripten",
"hidden": true,
"generator": "Unix Makefiles",
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"CMAKE_TOOLCHAIN_FILE": "/opt/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake"
},
"inherits": "common"
},
{
"name": "msvc_2022",
"hidden": true,
"generator": "Visual Studio 17 2022",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"inherits": "common"
},
{
"name": "debug_common",
"hidden": true,
"displayName": "Debug Config",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"BUILD_TEST_SUITE": {
"type": "BOOL",
"value": "TRUE"
},
"ENABLE_TEST_COVERAGE": {
"type": "BOOL",
"value": "TRUE"
}
}
},
{
"name": "debug_unix",
"displayName": "Debug Unix",
"description": "Debug configuration using Unix Makefiles",
"inherits": [
"debug_common",
"unix_makefiles"
]
},
{
"name": "debug_web",
"displayName": "Debug Web",
"description": "Web debug configuration using Unix Makefiles",
"inherits": [
"debug_common",
"unix_makefiles",
"emscripten"
]
},
{
"name": "debug_msvc",
"displayName": "Debug MSVC",
"description": "Debug configuration using MSVC 2022",
"inherits": [
"debug_common",
"msvc_2022"
]
},
{
"name": "release_common",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"BUILD_TEST_SUITE": {
"type": "BOOL",
"value": "TRUE"
}
}
},
{
"name": "release_unix",
"displayName": "Release Unix",
"description": "Release configuration using Unix Makefiles",
"inherits": [
"release_common",
"unix_makefiles"
]
},
{
"name": "release_web",
"displayName": "Release Web",
"description": "Web release configuration using Unix Makefiles",
"inherits": [
"release_common",
"unix_makefiles",
"emscripten"
]
},
{
"name": "release_msvc",
"displayName": "Release MSVC",
"description": "Release configuration using MSVC 2022",
"inherits": [
"release_common",
"msvc_2022"
]
}
],
"buildPresets": [
{
"name": "common",
"hidden": true,
"jobs": 12
},
{
"name": "debug_unix",
"displayName": "Build (Debug Unix)",
"description": "Debug build using Unix Makefiles",
"inherits": "common",
"configurePreset": "debug_unix"
},
{
"name": "debug_web",
"displayName": "Build (Debug Web)",
"description": "Debug build using Emscripten",
"inherits": "common",
"configurePreset": "debug_web"
},
{
"name": "debug_msvc",
"displayName": "Build (Debug MSVC)",
"description": "Debug build using MSVC",
"inherits": "common",
"configurePreset": "debug_msvc"
},
{
"name": "release_unix",
"displayName": "Build (Release Unix)",
"description": "Release build using Unix Makefiles",
"inherits": "common",
"configurePreset": "release_unix"
},
{
"name": "release_web",
"displayName": "Build (Release Web)",
"description": "Release build using Emscripten",
"inherits": "common",
"configurePreset": "release_web"
},
{
"name": "release_msvc",
"displayName": "Build (Release MSVC)",
"description": "Release build using MSVC",
"inherits": "common",
"configurePreset": "release_msvc"
}
],
"testPresets": [
{
"name": "common",
"hidden": true,
"output": {
"outputOnFailure": true,
"outputLogFile": "test.log"
}
},
{
"name": "debug_unix",
"displayName": "Test (Debug Unix)",
"inherits": "common",
"configurePreset": "debug_unix"
},
{
"name": "debug_web",
"displayName": "Test (Debug Web)",
"inherits": "common",
"configurePreset": "debug_web"
},
{
"name": "debug_msvc",
"configuration": "Debug",
"displayName": "Test (Debug MSVC)",
"inherits": "common",
"configurePreset": "debug_msvc"
},
{
"name": "release_web",
"displayName": "Test (Release web)",
"inherits": "common",
"configurePreset": "release_web"
},
{
"name": "release_msvc",
"configuration": "Release",
"displayName": "Test (Release MSVC)",
"inherits": "common",
"configurePreset": "release_msvc"
},
{
"name": "release_unix",
"displayName": "Test (Release Unix)",
"inherits": "common",
"configurePreset": "release_unix"
}
]
}