{ "version": 2, "cmakeMinimumRequired": { "major": 3, "minor": 20, "patch": 0 }, "configurePresets": [ { "name": "base", "description": "Sets generator, build and install directory", "hidden": true, "generator": "Ninja", "binaryDir": "${sourceDir}/bin/build/${presetName}", "cacheVariables": { "CMAKE_INSTALL_PREFIX": "${sourceDir}/bin/install/${presetName}" } }, { "name": "windows-base", "description": "Sets C++ compiler and hostOS", "hidden": true, "inherits": [ "base" ], "architecture": { "value": "x86", "strategy": "external" }, "cacheVariables": { "CMAKE_CXX_COMPILER": "cl" }, "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Windows" ] } } }, { "name": "x86-windows-debug", "description": "Sets x86 arch, build type", "inherits": [ "windows-base" ], "architecture": { "value": "x86", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "x86-windows-release", "description": "Sets x86 arch, build type", "inherits": [ "windows-base" ], "architecture": { "value": "x86", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } }, { "name": "x64-windows-debug", "description": "Sets x64 arch, build type", "inherits": [ "windows-base" ], "architecture": { "value": "x64", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "x64-windows-release", "description": "Sets x64 arch, build type", "inherits": [ "windows-base" ], "architecture": { "value": "x64", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } }, { "name": "arm64-windows-debug", "description": "Sets arm64 arch", "inherits": "windows-base", "architecture": { "value": "arm64", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "arm64-windows-release", "description": "Sets arm64 arch", "inherits": "windows-base", "architecture": { "value": "arm64", "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } }, { "name": "linux-base", "description": "Sets compilers, build type", "inherits": "base", "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] } } }, { "name": "linux-debug", "inherits": "linux-base", "architecture": { "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "linux-release", "inherits": "linux-base", "architecture": { "strategy": "external" }, "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo" } } ] }