mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 06:45:37 +08:00
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|
|
]
|
|
}
|