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