-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathCMakePresets.json
More file actions
110 lines (110 loc) · 3.18 KB
/
CMakePresets.json
File metadata and controls
110 lines (110 loc) · 3.18 KB
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
{
"version": 6,
"configurePresets": [
{
"name": "ci-base",
"hidden": true,
"toolchainFile": "build_conan/build/RelWithDebInfo/generators/conan_toolchain.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
"SWIFT_MINIFY_DEBUG_SYMBOLS": "ON",
"SWIFT_USE_CRASHPAD": "OFF",
"SWIFT_BUILD_SAMPLES": "OFF",
"VATSIM_AUTH_PATH": "${sourceDir}/third_party/externals",
"XP_SDK_PATH": "${sourceDir}/third_party/externals/XPLM/SDK",
"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": "OFF"
}
},
{
"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": "OFF",
"CMAKE_OSX_ARCHITECTURES": "x86_64"
}
},
{
"name": "ci-build-macos-xswiftbus-arm",
"displayName": "CI Build macOS xswiftbus ARM",
"inherits": "ci-base",
"toolchainFile": "build_conan_arm/build/RelWithDebInfo/generators/conan_toolchain.cmake",
"generator": "Unix Makefiles",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
},
"cacheVariables": {
"SWIFT_USE_CRASHPAD": "OFF",
"SWIFT_ONLY_XSWIFTBUS_WORKAROUND": "ON",
"CMAKE_OSX_ARCHITECTURES": "arm64",
"CMAKE_INSTALL_PREFIX": "${sourceDir}/dist_arm"
}
},
{
"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": "ci-build-linux-no-pch",
"displayName": "CI Build Linux without PCH (used for static code analysis)",
"inherits": "ci-build-linux",
"generator": "Ninja",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
},
"cacheVariables": {
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"VATSIM_KEY_JSON": "",
"SWIFT_USE_PCH": "OFF"
}
},
{
"name": "dev-debug",
"displayName": "Development Debug",
"description": "Base preset that can either be used directly or can be customized through a CMakeUserPresets.json",
"toolchainFile": "build_conan/build/Debug/generators/conan_toolchain.cmake",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"SWIFT_USE_CRASHPAD": "OFF",
"SWIFT_VATSIM_SUPPORT": "OFF",
"SWIFT_MINIFY_DEBUG_SYMBOLS": "OFF",
"SWIFT_BUILD_XSWIFTBUS": "OFF"
}
}
]
}