-
Notifications
You must be signed in to change notification settings - Fork 28
/
CMakePresets.json
70 lines (70 loc) · 1.75 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
{
"version": 6,
"configurePresets": [
{
"name": "ci-base",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"SWIFT_MINIFY_DEBUG_SYMBOLS": "ON",
"SWIFT_USE_CRASHPAD": "ON",
"SWIFT_BUILD_SAMPLES": "OFF",
"VATSIM_KEY_JSON": "vatsim.json",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/dist"
}
},
{
"name": "ci-build-windows",
"displayName": "CI Build Windows",
"inherits": "ci-base",
"generator": "Ninja",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"cacheVariables": {
"SWIFT_USE_CRASHPAD": "ON"
}
},
{
"name": "ci-build-macos",
"displayName": "CI Build macOS",
"inherits": "ci-base",
"generator": "Unix Makefiles",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
},
"cacheVariables": {
"SWIFT_USE_CRASHPAD": "ON"
}
},
{
"name": "ci-build-linux",
"displayName": "CI Build Linux",
"inherits": "ci-base",
"generator": "Ninja",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"SWIFT_USE_CRASHPAD": "OFF"
}
},
{
"name": "dev-debug",
"displayName": "Development Debug",
"description": "Base preset that can either be used directly or can be customized through a CMakeUserPresets.json",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SWIFT_USE_CRASHPAD": "OFF",
"SWIFT_VATSIM_SUPPORT": "OFF",
"SWIFT_MINIFY_DEBUG_SYMBOLS": "OFF"
}
}
]
}