-
Notifications
You must be signed in to change notification settings - Fork 534
/
CMakePresets.json
99 lines (99 loc) · 3.17 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
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "win-base",
"description": "Base settings for all windows builds",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/windows",
"cacheVariables": {
"QUIC_ENABLE_LOGGING": "on",
"QUIC_BUILD_TOOLS": "on",
"QUIC_BUILD_TEST": "on",
"QUIC_BUILD_PERF": "on",
"QUIC_LIBRARY_NAME": "msquic",
"CMAKE_C_COMPILER": "cl.exe",
"CMAKE_CXX_COMPILER": "cl.exe"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "lin-base",
"description": "Base settings for all Linux builds",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build/linux",
"cacheVariables": {
"QUIC_LINUX_LOG_ENCODER": "lttng",
"QUIC_ENABLE_LOGGING": "on",
"QUIC_BUILD_TOOLS": "on",
"QUIC_BUILD_TEST": "on",
"QUIC_BUILD_PERF": "on",
"QUIC_LIBRARY_NAME": "msquic"
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "windows-schannel-debug",
"displayName": "Windows Schannel Debug",
"inherits": "win-base",
"binaryDir": "${sourceDir}/build/windows/x64_schannel",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"QUIC_OUTPUT_DIR": "${sourceDir}/artifacts/bin/windows/x64_Debug_schannel",
"CMAKE_BUILD_TYPE": "Debug",
"QUIC_TLS": "schannel"
}
},
{
"name": "linux-openssl-debug",
"displayName": "Linux OpenSSL Debug",
"inherits": "lin-base",
"binaryDir": "${sourceDir}/build/linux/x64_openssl",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"QUIC_OUTPUT_DIR": "${sourceDir}/artifacts/bin/linux/x64_Debug_openssl",
"CMAKE_BUILD_TYPE": "Debug",
"QUIC_TLS": "openssl"
}
}
],
"buildPresets" : [
{
"name": "windows-debug",
"displayName": "Windows Debug",
"configurePreset": "windows-schannel-debug"
},
{
"name": "windows-debug-clean",
"displayName": "Windows Debug (clean)",
"cleanFirst": true,
"configurePreset": "windows-schannel-debug"
},
{
"name": "linux-debug",
"displayName": "Linux Debug",
"configurePreset": "linux-openssl-debug"
}
]
}