{ "version": 3, "configurePresets": [ { "name": "gnu-base", "hidden": true, "generator": "Ninja", "binaryDir": "${sourceDir}/out/build/${presetName}", "installDir": "${sourceDir}/out/install/${presetName}", "cacheVariables": { "CMAKE_C_COMPILER": "gcc", "CMAKE_CXX_COMPILER": "g++" }, "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" } }, { "name": "gnu-debug", "displayName": "GNU Debug", "inherits": "gnu-base", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "gnu-release", "displayName": "GNU Release", "inherits": "gnu-base", "cacheVariables": { "CMAKE_BUILD_TYPE": "Release" } } ] }