Merge branch 'testers-preset' into 'master'

CMakePresets.json: add testers and host-testers presets

See merge request KartKrew/Kart!929
This commit is contained in:
James R 2023-02-17 03:51:47 +00:00
commit c9122868ef

View file

@ -10,6 +10,8 @@
"CMAKE_C_FLAGS": "-fdiagnostics-color", "CMAKE_C_FLAGS": "-fdiagnostics-color",
"CMAKE_CXX_FLAGS": "-fdiagnostics-color", "CMAKE_CXX_FLAGS": "-fdiagnostics-color",
"SRB2_CONFIG_DEV_BUILD": "ON", "SRB2_CONFIG_DEV_BUILD": "ON",
"SRB2_CONFIG_HOSTTESTERS": "OFF",
"SRB2_CONFIG_TESTERS": "OFF",
"CMAKE_BUILD_TYPE": "RelWithDebInfo" "CMAKE_BUILD_TYPE": "RelWithDebInfo"
} }
}, },
@ -20,6 +22,22 @@
"cacheVariables": { "cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug" "CMAKE_BUILD_TYPE": "Debug"
} }
},
{
"name": "testers",
"description": "Build for testers to use",
"inherits": "default",
"cacheVariables": {
"SRB2_CONFIG_TESTERS": "ON"
}
},
{
"name": "host-testers",
"description": "Build to use when hosting, to let testers join",
"inherits": "default",
"cacheVariables": {
"SRB2_CONFIG_HOSTTESTERS": "ON"
}
} }
], ],
"buildPresets": [ "buildPresets": [