Add a CMake preset for maintainer flags

This commit is contained in:
ISSOtm
2026-03-14 15:59:57 -04:00
committed by Rangi
parent d524884799
commit e63ce24e48
4 changed files with 29 additions and 9 deletions

17
CMakePresets.json Normal file
View File

@@ -0,0 +1,17 @@
{
"version": 3,
"configurePresets": [
{
"name": "develop",
"description": "Debugging config for maintainers",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"MORE_WARNINGS": true,
"SANITIZERS": true
},
"warnings": { "uninitialized": true },
"errors": { "dev": true }
}
]
}