{ "version": 6, "configurePresets": [ { "name": "base", "hidden": true, "binaryDir": "${sourceDir}/build/${presetName}", "generator": "Ninja Multi-Config", "cacheVariables": { "CMAKE_CONFIGURATION_TYPES": "Debug;MinSizeRel", "CMAKE_EXPORT_COMPILE_COMMANDS": true, "CMAKE_VERIFY_INTERFACE_HEADER_SETS": true } }, { "name": "x86_64", "description": "Target x86-64", "inherits": "base", "toolchainFile": "cmake/Platforms/x86_64.cmake", "cacheVariables": { "BUILD_TESTING": false } }, { "name": "bht", "inherits": "base", "description": "Build-host Testing" }, { "name": "bht-tsan", "inherits": "bht", "description": "Build-host Testing with ThreadSanitizer", "cacheVariables": { "TEACHOS_ENABLE_TEST_SANITIZERS": false, "TEACHOS_ENABLE_TEST_TSAN": true } } ], "buildPresets": [ { "name": "x86_64-dbg", "configurePreset": "x86_64", "configuration": "Debug" }, { "name": "x86_64-rel", "configurePreset": "x86_64", "configuration": "MinSizeRel" }, { "name": "bht-dbg", "configurePreset": "bht", "configuration": "Debug" }, { "name": "bht-tsan-dbg", "configurePreset": "bht-tsan", "configuration": "Debug" } ], "testPresets": [ { "name": "bht-dbg", "configurePreset": "bht", "output": { "outputOnFailure": true }, "execution": { "jobs": 0 } }, { "name": "bht-tsan-dbg", "configurePreset": "bht-tsan", "output": { "outputOnFailure": true }, "execution": { "jobs": 1 } } ] }