209 lines
4.6 KiB
JSON
209 lines
4.6 KiB
JSON
{
|
|
"version": 3,
|
|
"cmakeMinimumRequired": {
|
|
"major": 3,
|
|
"minor": 20,
|
|
"patch": 0
|
|
},
|
|
"configurePresets": [
|
|
{
|
|
"name": "base",
|
|
"hidden": true,
|
|
"binaryDir": "${sourceDir}/build-ci/${presetName}",
|
|
"cacheVariables": {
|
|
"FETCHCONTENT_FULLY_DISCONNECTED": "ON"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-release",
|
|
"inherits": "base",
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_CXX_COMPILER": "g++"
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"inherits": "base",
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_CXX_COMPILER": "g++"
|
|
}
|
|
},
|
|
{
|
|
"name": "macos-release",
|
|
"inherits": "base",
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_CXX_COMPILER": "clang++"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc-release",
|
|
"inherits": "base",
|
|
"generator": "Visual Studio 17 2022",
|
|
"architecture": "x64",
|
|
"cacheVariables": {
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc-debug",
|
|
"inherits": "base",
|
|
"generator": "Visual Studio 17 2022",
|
|
"architecture": "x64",
|
|
"cacheVariables": {
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc2026-release",
|
|
"inherits": "base",
|
|
"generator": "Visual Studio 18 2026",
|
|
"architecture": "x64",
|
|
"cacheVariables": {
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc2026-debug",
|
|
"inherits": "base",
|
|
"generator": "Visual Studio 18 2026",
|
|
"architecture": "x64",
|
|
"cacheVariables": {
|
|
"CMAKE_CONFIGURATION_TYPES": "Debug;Release"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "linux-release",
|
|
"configurePreset": "linux-release",
|
|
"jobs": 4
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"configurePreset": "linux-debug",
|
|
"jobs": 4
|
|
},
|
|
{
|
|
"name": "macos-release",
|
|
"configurePreset": "macos-release",
|
|
"jobs": 4
|
|
},
|
|
{
|
|
"name": "windows-msvc-release",
|
|
"configurePreset": "windows-msvc-release",
|
|
"configuration": "Release",
|
|
"jobs": 4
|
|
},
|
|
{
|
|
"name": "windows-msvc-debug",
|
|
"configurePreset": "windows-msvc-debug",
|
|
"configuration": "Debug",
|
|
"jobs": 4
|
|
},
|
|
{
|
|
"name": "windows-msvc2026-release",
|
|
"configurePreset": "windows-msvc2026-release",
|
|
"configuration": "Release",
|
|
"jobs": 4
|
|
},
|
|
{
|
|
"name": "windows-msvc2026-debug",
|
|
"configurePreset": "windows-msvc2026-debug",
|
|
"configuration": "Debug",
|
|
"jobs": 4
|
|
}
|
|
],
|
|
"testPresets": [
|
|
{
|
|
"name": "linux-release",
|
|
"configurePreset": "linux-release",
|
|
"execution": {
|
|
"jobs": 4,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "linux-debug",
|
|
"configurePreset": "linux-debug",
|
|
"execution": {
|
|
"jobs": 2,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "macos-release",
|
|
"configurePreset": "macos-release",
|
|
"execution": {
|
|
"jobs": 4,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc-release",
|
|
"configurePreset": "windows-msvc-release",
|
|
"configuration": "Release",
|
|
"execution": {
|
|
"jobs": 4,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc-debug",
|
|
"configurePreset": "windows-msvc-debug",
|
|
"configuration": "Debug",
|
|
"execution": {
|
|
"jobs": 2,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc2026-release",
|
|
"configurePreset": "windows-msvc2026-release",
|
|
"configuration": "Release",
|
|
"execution": {
|
|
"jobs": 4,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
},
|
|
{
|
|
"name": "windows-msvc2026-debug",
|
|
"configurePreset": "windows-msvc2026-debug",
|
|
"configuration": "Debug",
|
|
"execution": {
|
|
"jobs": 2,
|
|
"timeout": 900
|
|
},
|
|
"output": {
|
|
"outputOnFailure": true
|
|
}
|
|
}
|
|
]
|
|
}
|