14
14
"generator" : " Ninja" ,
15
15
"binaryDir" : " ${sourceDir}/build/${presetName}" ,
16
16
"cacheVariables" : {
17
- "LLVM_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ install\\ MSVC\\ DebWithOpt " ,
18
- "Clang_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ install\\ MSVC\\ DebWithOpt " ,
17
+ "LLVM_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ install\\ MSVC\\ Debug " ,
18
+ "Clang_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ install\\ MSVC\\ Debug " ,
19
19
"CMAKE_EXPORT_COMPILE_COMMANDS" : " ON" ,
20
20
"CMAKE_CXX_FLAGS" : " /W4" ,
21
21
"CMAKE_C_FLAGS" : " /W4"
34
34
}
35
35
}
36
36
},
37
- {
38
- "name" : " debwithopt-msvc" ,
39
- "displayName" : " Debug with Optimizations MSVC" ,
40
- "description" : " Build on Windows + MSVC natively (Debug with optimizations). This is the preset typically used for development. CI tests it and generates LLVM binaries for it." ,
41
- "inherits" : " debug-msvc" ,
42
- "binaryDir" : " ${sourceDir}/build/${presetName}" ,
43
- "cacheVariables" : {
44
- "LLVM_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ DebWithOpt" ,
45
- "Clang_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ DebWithOpt"
46
- }
47
- },
48
37
{
49
38
"name" : " release-msvc" ,
50
39
"displayName" : " Release MSVC" ,
57
46
"Clang_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ Release"
58
47
}
59
48
},
60
- {
61
- "name" : " relwithdebinfo-msvc" ,
62
- "displayName" : " RelWithDebInfo MSVC" ,
63
- "description" : " Build on Windows + MSVC natively (RelWithDebInfo). This is the preset used for the release builds." ,
64
- "inherits" : " debug-msvc" ,
65
- "binaryDir" : " ${sourceDir}/build/${presetName}" ,
66
- "cacheVariables" : {
67
- "CMAKE_BUILD_TYPE" : " RelWithDebInfo" ,
68
- "LLVM_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ Release" ,
69
- "Clang_ROOT" : " C:\\ Users\\ $env{USERNAME}\\ Libraries\\ llvm\\ Release"
70
- }
71
- },
72
- {
73
- "name" : " debwithopt-clang-cl" ,
74
- "displayName" : " Debug with Optimizations Clang-CL" ,
75
- "description" : " Build on Windows + Clang natively. Windows developers can use this preset to catch Clang-specific issues natively." ,
76
- "inherits" : " debwithopt-msvc" ,
77
- "binaryDir" : " ${sourceDir}/build/${presetName}" ,
78
- "cacheVariables" : {
79
- "CMAKE_C_COMPILER" : " clang-cl.exe" ,
80
- "CMAKE_CXX_COMPILER" : " clang-cl.exe"
81
- }
82
- },
83
49
{
84
50
"name" : " debug-wsl-gcc" ,
85
51
"displayName" : " Debug WSL GCC" ,
117
83
"CMAKE_CXX_FLAGS" : " -fsanitize=address -fno-omit-frame-pointer -g -O0 -fno-inline-functions"
118
84
}
119
85
},
120
- {
121
- "name" : " debwithopt-wsl-gcc" ,
122
- "displayName" : " Debug with Optimizations WSL GCC" ,
123
- "description" : " Build on WSL + GCC (Debug with optimizations). Windows developers can use this preset to catch GCC-specific issues with WSL. WSL tends to be very slow, so this is not recommended for interactive development." ,
124
- "inherits" : " debug-wsl-gcc" ,
125
- "binaryDir" : " ${sourceDir}/build/${presetName}" ,
126
- "cacheVariables" : {
127
- "CMAKE_BUILD_TYPE" : " Debug" ,
128
- "LLVM_ROOT" : " /home/$env{USER}/libraries/llvm-project/llvm/install/Linux/Release" ,
129
- "Clang_ROOT" : " /home/$env{USER}/libraries/llvm-project/llvm/install/Linux/Release"
130
- }
131
- },
132
86
{
133
87
"name" : " release-wsl-gcc" ,
134
88
"displayName" : " Release WSL GCC" ,
171
125
},
172
126
{
173
127
"name" : " debug-macos" ,
174
- "displayName" : " Debug macOS" ,
128
+ "displayName" : " Debug ( macOS) " ,
175
129
"description" : " Preset for building MrDocs in Debug mode with the default compiler in macOS." ,
176
130
"inherits" : " debug" ,
177
131
"binaryDir" : " ${sourceDir}/build/${presetName}" ,
186
140
"MRDOCS_BUILD_TESTS" : true ,
187
141
"MRDOCS_BUILD_DOCS" : false ,
188
142
"MRDOCS_GENERATE_REFERENCE" : false ,
189
- "MRDOCS_GENERATE_ANTORA_REFERENCE" : false
143
+ "MRDOCS_GENERATE_ANTORA_REFERENCE" : false ,
144
+ "CMAKE_MAKE_PROGRAM" : " $env{HOME}/Developer/cpp-libs/ninja/ninja"
190
145
},
191
146
"condition" : {
192
147
"type" : " equals" ,
195
150
},
196
151
"warnings" : {
197
152
"unusedCli" : false
198
- }
153
+ },
154
+ "generator" : " Ninja"
199
155
},
200
156
{
201
- "name" : " debwithopt -macos" ,
202
- "displayName" : " DebWithOpt macOS" ,
203
- "description" : " Preset for building MrDocs in DebWithOpt mode with the default compiler in macOS." ,
157
+ "name" : " debug -macos-fast " ,
158
+ "displayName" : " Debug with Optimized Dependencies ( macOS) " ,
159
+ "description" : " Preset for building MrDocs in Debug mode with the default compiler in macOS." ,
204
160
"inherits" : " debug" ,
205
161
"binaryDir" : " ${sourceDir}/build/${presetName}" ,
206
162
"cacheVariables" : {
207
163
"CMAKE_BUILD_TYPE" : " Debug" ,
208
- "LLVM_ROOT" : " $env{HOME}/Developer/cpp-libs/llvm-project/install/debwithopt " ,
209
- "Clang_ROOT" : " $env{HOME}/Developer/cpp-libs/llvm-project/install/debwithopt " ,
210
- "duktape_ROOT" : " $env{HOME}/Developer/cpp-libs/duktape/install/debwithopt " ,
211
- "Duktape_ROOT" : " $env{HOME}/Developer/cpp-libs/duktape/install/debwithopt " ,
164
+ "LLVM_ROOT" : " $env{HOME}/Developer/cpp-libs/llvm-project/install/release " ,
165
+ "Clang_ROOT" : " $env{HOME}/Developer/cpp-libs/llvm-project/install/release " ,
166
+ "duktape_ROOT" : " $env{HOME}/Developer/cpp-libs/duktape/install/release " ,
167
+ "Duktape_ROOT" : " $env{HOME}/Developer/cpp-libs/duktape/install/release " ,
212
168
"libxml2_ROOT" : " $env{HOME}/Developer/cpp-libs/libxml2/install/release" ,
213
169
"LibXml2_ROOT" : " $env{HOME}/Developer/cpp-libs/libxml2/install/release" ,
214
170
"MRDOCS_BUILD_TESTS" : true ,
215
171
"MRDOCS_BUILD_DOCS" : false ,
216
172
"MRDOCS_GENERATE_REFERENCE" : false ,
217
- "MRDOCS_GENERATE_ANTORA_REFERENCE" : false
173
+ "MRDOCS_GENERATE_ANTORA_REFERENCE" : false ,
174
+ "CMAKE_MAKE_PROGRAM" : " $env{HOME}/Developer/cpp-libs/ninja/ninja"
175
+ },
176
+ "warnings" : {
177
+ "unusedCli" : false
218
178
},
219
179
"condition" : {
220
180
"type" : " equals" ,
221
181
"lhs" : " ${hostSystemName}" ,
222
182
"rhs" : " Darwin"
223
183
},
224
- "warnings" : {
225
- "unusedCli" : false
226
- }
184
+ "generator" : " Ninja"
227
185
},
228
186
{
229
187
"name" : " release-macos" ,
230
- "displayName" : " Release macOS" ,
188
+ "displayName" : " Release ( macOS) " ,
231
189
"description" : " Preset for building MrDocs in Release mode with the default compiler in macOS." ,
232
190
"inherits" : " release" ,
233
191
"binaryDir" : " ${sourceDir}/build/${presetName}" ,
242
200
"MRDOCS_BUILD_TESTS" : true ,
243
201
"MRDOCS_BUILD_DOCS" : false ,
244
202
"MRDOCS_GENERATE_REFERENCE" : false ,
245
- "MRDOCS_GENERATE_ANTORA_REFERENCE" : false
203
+ "MRDOCS_GENERATE_ANTORA_REFERENCE" : false ,
204
+ "CMAKE_MAKE_PROGRAM" : " $env{HOME}/Developer/cpp-libs/ninja/ninja"
246
205
},
247
206
"condition" : {
248
207
"type" : " equals" ,
251
210
},
252
211
"warnings" : {
253
212
"unusedCli" : false
254
- }
213
+ },
214
+ "generator" : " Ninja"
255
215
},
256
216
{
257
217
"name" : " release-macos-gcc" ,
258
- "displayName" : " Release macOS (gcc)" ,
218
+ "displayName" : " Release ( macOS) (gcc)" ,
259
219
"description" : " Preset for building MrDocs in Release mode with the gcc compiler in macOS." ,
260
220
"inherits" : " release" ,
261
221
"binaryDir" : " ${sourceDir}/build/${presetName}" ,
270
230
"MRDOCS_BUILD_TESTS" : true ,
271
231
"MRDOCS_BUILD_DOCS" : false ,
272
232
"MRDOCS_GENERATE_REFERENCE" : false ,
273
- "MRDOCS_GENERATE_ANTORA_REFERENCE" : false
233
+ "MRDOCS_GENERATE_ANTORA_REFERENCE" : false ,
234
+ "CMAKE_C_COMPILER" : " /usr/bin/gcc" ,
235
+ "CMAKE_CXX_COMPILER" : " /usr/bin/g++" ,
236
+ "CMAKE_MAKE_PROGRAM" : " $env{HOME}/Developer/cpp-libs/ninja/ninja"
274
237
},
275
238
"warnings" : {
276
239
"unusedCli" : false
279
242
"type" : " equals" ,
280
243
"lhs" : " ${hostSystemName}" ,
281
244
"rhs" : " Darwin"
282
- }
283
- },
284
- {
285
- "name" : " debug-macos-fast" ,
286
- "displayName" : " Debug with Optimized Dependencies (macOS)" ,
287
- "description" : " Preset for building MrDocs in Debug mode with the default compiler in macOS." ,
288
- "inherits" : " debug" ,
289
- "binaryDir" : " ${sourceDir}/build/${presetName}" ,
290
- "cacheVariables" : {
291
- "CMAKE_BUILD_TYPE" : " Debug" ,
292
- "LLVM_ROOT" : " $env{HOME}/Developer/cpp-libs/llvm-project/install/release" ,
293
- "Clang_ROOT" : " $env{HOME}/Developer/cpp-libs/llvm-project/install/release" ,
294
- "duktape_ROOT" : " $env{HOME}/Developer/cpp-libs/duktape/install/release" ,
295
- "Duktape_ROOT" : " $env{HOME}/Developer/cpp-libs/duktape/install/release" ,
296
- "libxml2_ROOT" : " $env{HOME}/Developer/cpp-libs/libxml2/install/release" ,
297
- "LibXml2_ROOT" : " $env{HOME}/Developer/cpp-libs/libxml2/install/release" ,
298
- "MRDOCS_BUILD_TESTS" : true ,
299
- "MRDOCS_BUILD_DOCS" : false ,
300
- "MRDOCS_GENERATE_REFERENCE" : false ,
301
- "MRDOCS_GENERATE_ANTORA_REFERENCE" : false
302
245
},
303
- "warnings" : {
304
- "unusedCli" : false
305
- },
306
- "condition" : {
307
- "type" : " equals" ,
308
- "lhs" : " ${hostSystemName}" ,
309
- "rhs" : " Darwin"
310
- }
246
+ "generator" : " Ninja"
311
247
}
312
248
]
313
249
}
0 commit comments