{ "version": 3, "cmakeMinimumRequired": { "major": 3, "minor": 21, "patch": 0 }, "configurePresets": [ { "name": "develop-base", "hidden": true, "generator": "Ninja Multi-Config", "binaryDir": "${sourceDir}/build/${presetName}", "installDir": "${sourceDir}/install/${presetName}", "cacheVariables": { "KARI_HPP_DEVELOP": true, "KARI_HPP_INSTALL": true, "CMAKE_EXPORT_COMPILE_COMMANDS": true } }, { "name": "linux-base", "hidden": true, "inherits": "develop-base", "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" } }, { "name": "linux-clang-10", "inherits": "linux-base", "cacheVariables": { "CMAKE_C_COMPILER": "clang-10", "CMAKE_CXX_COMPILER": "clang++-10" } }, { "name": "linux-clang-18", "inherits": "linux-base", "cacheVariables": { "CMAKE_C_COMPILER": "clang-18", "CMAKE_CXX_COMPILER": "clang++-18" } }, { "name": "linux-gcc-10", "inherits": "linux-base", "cacheVariables": { "CMAKE_C_COMPILER": "gcc-10", "CMAKE_CXX_COMPILER": "g++-10" } }, { "name": "linux-gcc-14", "inherits": "linux-base", "cacheVariables": { "CMAKE_C_COMPILER": "gcc-14", "CMAKE_CXX_COMPILER": "g++-14" } }, { "name": "macos-base", "hidden": true, "inherits": "develop-base", "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Darwin" } }, { "name": "macos-arm64", "inherits": "macos-base", "architecture": { "value": "arm64", "strategy": "external" } }, { "name": "macos-x64", "inherits": "macos-base", "architecture": { "value": "x64", "strategy": "external" } }, { "name": "windows-base", "hidden": true, "inherits": "develop-base", "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" } }, { "name": "windows-x86-msvc2019", "inherits": "windows-base", "architecture": { "value": "x86", "strategy": "external" }, "toolset": { "value": "v142,host=x64", "strategy": "external" }, "cacheVariables": { "CMAKE_C_COMPILER": "cl", "CMAKE_CXX_COMPILER": "cl" } }, { "name": "windows-x64-msvc2019", "inherits": "windows-base", "architecture": { "value": "x64", "strategy": "external" }, "toolset": { "value": "v142,host=x64", "strategy": "external" }, "cacheVariables": { "CMAKE_C_COMPILER": "cl", "CMAKE_CXX_COMPILER": "cl" } }, { "name": "windows-x86-msvc2022", "inherits": "windows-base", "architecture": { "value": "x86", "strategy": "external" }, "toolset": { "value": "v143,host=x64", "strategy": "external" }, "cacheVariables": { "CMAKE_C_COMPILER": "cl", "CMAKE_CXX_COMPILER": "cl" } }, { "name": "windows-x64-msvc2022", "inherits": "windows-base", "architecture": { "value": "x64", "strategy": "external" }, "toolset": { "value": "v143,host=x64", "strategy": "external" }, "cacheVariables": { "CMAKE_C_COMPILER": "cl", "CMAKE_CXX_COMPILER": "cl" } } ], "buildPresets": [ { "name": "linux-clang-10-debug", "configuration": "Debug", "configurePreset": "linux-clang-10" }, { "name": "linux-clang-10-release", "configuration": "Release", "configurePreset": "linux-clang-10" }, { "name": "linux-clang-18-debug", "configuration": "Debug", "configurePreset": "linux-clang-18" }, { "name": "linux-clang-18-release", "configuration": "Release", "configurePreset": "linux-clang-18" }, { "name": "linux-gcc-10-debug", "configuration": "Debug", "configurePreset": "linux-gcc-10" }, { "name": "linux-gcc-10-release", "configuration": "Release", "configurePreset": "linux-gcc-10" }, { "name": "linux-gcc-14-debug", "configuration": "Debug", "configurePreset": "linux-gcc-14" }, { "name": "linux-gcc-14-release", "configuration": "Release", "configurePreset": "linux-gcc-14" }, { "name": "macos-arm64-debug", "configuration": "Debug", "configurePreset": "macos-arm64" }, { "name": "macos-arm64-release", "configuration": "Release", "configurePreset": "macos-arm64" }, { "name": "macos-x64-debug", "configuration": "Debug", "configurePreset": "macos-x64" }, { "name": "macos-x64-release", "configuration": "Release", "configurePreset": "macos-x64" }, { "name": "windows-x86-msvc2019-debug", "configuration": "Debug", "configurePreset": "windows-x86-msvc2019" }, { "name": "windows-x86-msvc2019-release", "configuration": "Release", "configurePreset": "windows-x86-msvc2019" }, { "name": "windows-x64-msvc2019-debug", "configuration": "Debug", "configurePreset": "windows-x64-msvc2019" }, { "name": "windows-x64-msvc2019-release", "configuration": "Release", "configurePreset": "windows-x64-msvc2019" }, { "name": "windows-x86-msvc2022-debug", "configuration": "Debug", "configurePreset": "windows-x86-msvc2022" }, { "name": "windows-x86-msvc2022-release", "configuration": "Release", "configurePreset": "windows-x86-msvc2022" }, { "name": "windows-x64-msvc2022-debug", "configuration": "Debug", "configurePreset": "windows-x64-msvc2022" }, { "name": "windows-x64-msvc2022-release", "configuration": "Release", "configurePreset": "windows-x64-msvc2022" } ], "testPresets": [ { "name": "test-base", "hidden": true, "output": { "verbosity": "verbose" } }, { "name": "linux-clang-10", "inherits": "test-base", "configurePreset": "linux-clang-10" }, { "name": "linux-clang-18", "inherits": "test-base", "configurePreset": "linux-clang-18" }, { "name": "linux-gcc-10", "inherits": "test-base", "configurePreset": "linux-gcc-10" }, { "name": "linux-gcc-14", "inherits": "test-base", "configurePreset": "linux-gcc-14" }, { "name": "macos-arm64", "inherits": "test-base", "configurePreset": "macos-arm64" }, { "name": "macos-x64", "inherits": "test-base", "configurePreset": "macos-x64" }, { "name": "windows-x86-msvc2019", "inherits": "test-base", "configurePreset": "windows-x86-msvc2019" }, { "name": "windows-x64-msvc2019", "inherits": "test-base", "configurePreset": "windows-x64-msvc2019" }, { "name": "windows-x86-msvc2022", "inherits": "test-base", "configurePreset": "windows-x86-msvc2022" }, { "name": "windows-x64-msvc2022", "inherits": "test-base", "configurePreset": "windows-x64-msvc2022" } ] }