{ "version": 6, "cmakeMinimumRequired": { "major": 3, "minor": 25, "patch": 0 }, "configurePresets": [ { "name": "base", "hidden": true, "generator": "Ninja", "binaryDir": "${sourceDir}/build/${presetName}", "cacheVariables": { "SEQUA_BUILD_TESTS": "ON", "SEQUA_WARNINGS_AS_ERRORS": "ON" } }, { "name": "windows-base", "hidden": true, "inherits": "base", "cacheVariables": { "CMAKE_CXX_COMPILER": "cl" }, "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Windows" } }, { "name": "windows-msvc-debug", "displayName": "Windows MSVC Debug", "inherits": "windows-base", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "SEQUA_BIN_TYPE": "debug", "SEQUA_BUILD_GODOT_RUNTIME": "ON" } }, { "name": "windows-msvc-release", "displayName": "Windows MSVC Release", "inherits": "windows-base", "cacheVariables": { "CMAKE_BUILD_TYPE": "RelWithDebInfo", "SEQUA_BIN_TYPE": "release", "SEQUA_BUILD_GODOT_RUNTIME": "ON" } }, { "name": "windows-msvc-asan", "displayName": "Windows MSVC AddressSanitizer", "inherits": "windows-base", "cacheVariables": { "CMAKE_BUILD_TYPE": "Debug", "SEQUA_BIN_TYPE": "asan", "SEQUA_SANITIZERS": "address" } }, { "name": "windows-msvc-prototypes", "displayName": "Windows MSVC Release + prototypes", "inherits": "windows-msvc-release", "installDir": "${sourceDir}/build/${presetName}/install", "cacheVariables": { "SEQUA_BUILD_PROTOTYPES": "ON" } }, { "name": "linux-base", "hidden": true, "inherits": "base", "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Linux" } }, { "name": "linux-gcc-debug", "displayName": "Linux GCC Debug", "inherits": "linux-base", "cacheVariables": { "CMAKE_CXX_COMPILER": "g++", "CMAKE_BUILD_TYPE": "Debug" } }, { "name": "linux-clang-sanitize", "displayName": "Linux Clang ASan + UBSan", "inherits": "linux-base", "cacheVariables": { "CMAKE_CXX_COMPILER": "clang++", "CMAKE_BUILD_TYPE": "Debug", "SEQUA_BIN_TYPE": "asan", "SEQUA_SANITIZERS": "address;undefined" } }, { "name": "macos-clang-debug", "displayName": "macOS Clang Debug", "inherits": "base", "cacheVariables": { "CMAKE_CXX_COMPILER": "clang++", "CMAKE_BUILD_TYPE": "Debug" }, "condition": { "type": "equals", "lhs": "${hostSystemName}", "rhs": "Darwin" } } ], "buildPresets": [ { "name": "windows-msvc-debug", "configurePreset": "windows-msvc-debug" }, { "name": "windows-msvc-release", "configurePreset": "windows-msvc-release" }, { "name": "windows-msvc-asan", "configurePreset": "windows-msvc-asan" }, { "name": "windows-msvc-prototypes", "configurePreset": "windows-msvc-prototypes" }, { "name": "linux-gcc-debug", "configurePreset": "linux-gcc-debug" }, { "name": "linux-clang-sanitize", "configurePreset": "linux-clang-sanitize" }, { "name": "macos-clang-debug", "configurePreset": "macos-clang-debug" } ], "testPresets": [ { "name": "test-base", "hidden": true, "output": { "outputOnFailure": true }, "execution": { "noTestsAction": "error" } }, { "name": "windows-msvc-debug", "inherits": "test-base", "configurePreset": "windows-msvc-debug" }, { "name": "windows-msvc-release", "inherits": "test-base", "configurePreset": "windows-msvc-release" }, { "name": "windows-msvc-asan", "inherits": "test-base", "configurePreset": "windows-msvc-asan" }, { "name": "windows-msvc-prototypes", "inherits": "test-base", "configurePreset": "windows-msvc-prototypes" }, { "name": "linux-gcc-debug", "inherits": "test-base", "configurePreset": "linux-gcc-debug" }, { "name": "linux-clang-sanitize", "inherits": "test-base", "configurePreset": "linux-clang-sanitize" }, { "name": "macos-clang-debug", "inherits": "test-base", "configurePreset": "macos-clang-debug" } ] }