add Linux debug preset

This commit is contained in:
jadebenn 2024-02-04 16:26:38 -06:00
parent 7c9f56ff76
commit d5089b72cc

View File

@ -20,8 +20,19 @@
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
}
},
{
"name": "debug-ubuntu-22.04",
"displayName": "Debug configure step for Ubuntu",
"description": "Used to generate debug configuration for Ubuntu",
"inherits": "default",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"CMAKE_CXX_FLAGS_INIT": "-O2"
"CMAKE_CXX_FLAGS_INIT" : "-Og",
"CMAKE_C_FLAGS_INIT" : "-Og"
}
},
{
@ -65,6 +76,22 @@
"description": "Default Build",
"jobs": 2
},
{
"name": "ci-ubuntu-22.04",
"configurePreset": "ci-ubuntu-22.04",
"displayName": "Linux CI Build",
"description": "This preset is used by the CI build on linux",
"configuration": "Release",
"jobs": 2
},
{
"name": "debug-ubuntu-22.04",
"configurePreset": "debug-ubuntu-22.04",
"displayName": "Linux Debug Build ",
"description": "This preset is used to debug the build on linux",
"configuration": "Debug",
"jobs": 2
},
{
"name": "ci-windows-2022",
"configurePreset": "ci-windows-2022",
@ -73,13 +100,6 @@
"configuration": "Release",
"jobs": 2
},
{
"name": "ci-ubuntu-22.04",
"configurePreset": "ci-ubuntu-22.04",
"displayName": "Linux CI Build",
"description": "This preset is used by the CI build on linux",
"jobs": 2
},
{
"name": "ci-macos-13",
"configurePreset": "ci-macos-13",
@ -94,6 +114,20 @@
"configurePreset": "ci-ubuntu-22.04",
"displayName": "CI Tests on Linux",
"description": "Runs all tests on a linux configuration",
"configuration": "Release",
"execution": {
"jobs": 2
},
"output": {
"outputOnFailure": true
}
},
{
"name": "debug-ubuntu-22.04",
"configurePreset": "debug-ubuntu-22.04",
"displayName": "Debug Tests on Linux",
"description": "Runs all tests on a linux configuration",
"configuration": "Debug",
"execution": {
"jobs": 2
},