Files
rgbds/CMakePresets.json
T
2026-04-16 00:57:33 +02:00

47 lines
1.0 KiB
JSON

{
"version": 3,
"configurePresets": [
{
"name": "develop",
"description": "Debugging config for maintainers",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": true,
"CMAKE_COMPILE_WARNING_AS_ERROR": true,
"CMAKE_LINK_WARNING_AS_ERROR": true,
"MORE_WARNINGS": true,
"SANITIZERS": true
},
"warnings": { "uninitialized": true },
"errors": { "dev": true }
},
{
"name": "develop-msvc32",
"inherits": ["develop", "msvc32"]
},
{
"name": "develop-msvc64",
"inherits": ["develop", "msvc64"]
},
{
"name": "msvc32",
"description": "Flags for building 32-bit executables with MSVC",
"architecture": "Win32"
},
{
"name": "msvc64",
"description": "Flags for building 64-bit executables with MSVC",
"architecture": "x64"
},
{
"name": "macos-static",
"description": "Flags for building an executable compatible with old macOS",
"cacheVariables": {
"CMAKE_PROJECT_TOP_LEVEL_INCLUDES": "cmake/macos-static.cmake"
}
}
]
}