{ "version": 2, "configurePresets": [ { "name": "preset", "displayName": "Configure preset using toolchain file", "description": "Sets Ninja generator, build and install directory", "generator": "Ninja", "binaryDir": "${sourceDir}/out/build/${presetName}", "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo", "CMAKE_TOOLCHAIN_FILE": "", "CMAKE_INSTALL_PREFIX": "${sourceDir}/out/install/${presetName}" } } ] }