| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "version": 6,
- "cmakeMinimumRequired": {
- "major": 3,
- "minor": 22,
- "patch": 0
- },
- "configurePresets": [
- {
- "name": "base",
- "hidden": true,
- "generator": "Ninja",
- "binaryDir": "${sourceDir}/build/${presetName}",
- "cacheVariables": {
- "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
- }
- },
- {
- "name": "debug",
- "displayName": "Debug",
- "description": "Debug build with full debugging information",
- "inherits": "base",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Debug",
- "BUILD_TESTING": "ON",
- "ENABLE_SANITIZERS": "ON"
- }
- },
- {
- "name": "release",
- "displayName": "Release",
- "description": "Optimized release build",
- "inherits": "base",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "Release",
- "BUILD_TESTING": "OFF",
- "ENABLE_SANITIZERS": "OFF"
- }
- },
- {
- "name": "relwithdebinfo",
- "displayName": "Release with Debug Info",
- "description": "Optimized build with debug symbols",
- "inherits": "base",
- "cacheVariables": {
- "CMAKE_BUILD_TYPE": "RelWithDebInfo",
- "BUILD_TESTING": "ON",
- "ENABLE_SANITIZERS": "OFF"
- }
- }
- ],
- "buildPresets": [
- {
- "name": "debug",
- "displayName": "Debug Build",
- "configurePreset": "debug"
- },
- {
- "name": "release",
- "displayName": "Release Build",
- "configurePreset": "release"
- },
- {
- "name": "relwithdebinfo",
- "displayName": "RelWithDebInfo Build",
- "configurePreset": "relwithdebinfo"
- }
- ]
- }
|