DarkflameServer/CMakePresets.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

125 lines
2.9 KiB
JSON
Raw Permalink Normal View History

{
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 25,
"patch": 0
},
"configurePresets": [
{
"name": "default",
"displayName": "Default configure step",
"description": "Use 'build' dir and Unix makefiles",
"binaryDir": "${sourceDir}/build",
"generator": "Unix Makefiles",
"hidden": true
},
{
"name": "windows-default",
"inherits": "default",
"displayName": "Windows Default Configure Settings",
"description": "Sets build and install directories",
"generator": "Visual Studio 17 2022",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
},
"hidden": true
},
{
"name": "windows-msvc",
"inherits": "windows-default",
"displayName": "Windows (MSVC)",
"description": "Create a build using MSVC"
},
{
"name": "windows-clang",
"inherits": "windows-default",
"displayName": "EXPERIMENTAL - Windows (Clang)",
"description": "Create a build using Clang",
"toolset": "ClangCL"
},
{
"name": "linux-default",
"inherits": "default",
"hidden": true,
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "linux-clang",
"inherits": "linux-default",
"toolchainFile": "${sourceDir}/cmake/toolchains/linux-clang.cmake",
"displayName": "Linux (Clang)",
"description": "Create a build using the Clang toolchain for Linux"
},
{
"name": "linux-gnu",
"inherits": "linux-default",
"toolchainFile": "${sourceDir}/cmake/toolchains/linux-gnu.cmake",
"displayName": "Linux (GNU)",
"description": "Create a build using the GNU toolchain for Linux"
},
{
"name": "macos",
"inherits": "default",
"displayName": "MacOS",
"description": "Create a build for MacOS",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Darwin"
}
}
],
"buildPresets": [
2024-12-09 19:05:34 +00:00
{ "name": "ci-ubuntu-22.04", "configurePreset": "linux-gnu" },
{ "name": "ci-macos-13", "configurePreset": "macos" },
{ "name": "ci-windows-2022", "configurePreset": "windows-msvc" }
],
"testPresets": [
2024-12-09 19:05:34 +00:00
{
"name": "default",
"hidden": true,
"execution": {
"jobs": 2
},
"output": {
"outputOnFailure": true
}
},
{
"name": "ci-ubuntu-22.04",
"configurePreset": "linux-gnu",
"displayName": "CI Tests on Linux",
2024-12-09 19:05:34 +00:00
"inherits": "default"
},
{
"name": "ci-macos-13",
"configurePreset": "macos",
"displayName": "CI Tests on MacOS",
2024-12-09 19:05:34 +00:00
"inherits": "default"
},
{
"name": "ci-windows-2022",
"configurePreset": "windows-msvc",
"displayName": "CI Tests on windows",
2024-12-09 19:05:34 +00:00
"inherits": "default",
"configuration": "RelWithDebInfo",
"filter": {
"exclude": {
"name": "((example)|(minigzip))+"
}
}
}
],
"workflowPresets": [
]
2024-12-08 22:42:41 +00:00
}