Files
rgbds/CMakePresets.json
T
Eldred Habert 65ec1af1e8 Switch macOS static build to CMake (#1938)
This moves the tortuous flags out of our CI scripts,
and allows us to benefit from the libpng download caching.
2026-04-12 22:26:15 -04:00

45 lines
968 B
JSON

{
"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 }
},
{
"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"
}
}
]
}