2026-05-18 09:41:16 +08:00
{
"version" : 2 ,
"cmakeMinimumRequired" : {
"major" : 3 ,
"minor" : 20 ,
"patch" : 0
} ,
"configurePresets" : [
{
"name" : "_base" ,
"hidden" : true ,
2026-05-18 21:07:48 +08:00
"generator" : "Unix Makefiles" ,
2026-05-18 09:41:16 +08:00
"cacheVariables" : {
"CMAKE_EXPORT_COMPILE_COMMANDS" : "ON"
}
} ,
{
"name" : "debug" ,
"displayName" : "Debug" ,
2026-05-19 03:32:03 +08:00
"description" : "Default developer lane. C++14 Debug with tests and benchmarks enabled; fuzz requested but auto-skipped unless supported." ,
2026-05-18 09:41:16 +08:00
"inherits" : "_base" ,
"binaryDir" : "${sourceDir}/build/debug" ,
"cacheVariables" : {
"CMAKE_BUILD_TYPE" : "Debug" ,
"CMAKE_CXX_STANDARD" : "14" ,
2026-05-19 03:32:03 +08:00
"CC_ENABLE_TESTING" : "ON" ,
"CC_ENABLE_BENCHMARKS" : "ON" ,
"CC_ENABLE_FUZZTEST" : "ON" ,
2026-05-19 14:19:49 +08:00
"CC_ENABLE_ASAN" : "OFF"
2026-05-18 09:41:16 +08:00
}
} ,
{
"name" : "release" ,
"displayName" : "Release" ,
2026-05-19 03:32:03 +08:00
"description" : "Optimized build lane. C++14 Release with tests and benchmarks enabled; fuzz requested but auto-skipped unless supported." ,
2026-05-18 09:41:16 +08:00
"inherits" : "_base" ,
"binaryDir" : "${sourceDir}/build/release" ,
"cacheVariables" : {
"CMAKE_BUILD_TYPE" : "Release" ,
"CMAKE_CXX_STANDARD" : "14" ,
2026-05-19 03:32:03 +08:00
"CC_ENABLE_TESTING" : "ON" ,
"CC_ENABLE_BENCHMARKS" : "ON" ,
"CC_ENABLE_FUZZTEST" : "ON" ,
2026-05-19 14:19:49 +08:00
"CC_ENABLE_ASAN" : "OFF"
2026-05-18 09:41:16 +08:00
}
} ,
{
"name" : "asan" ,
"displayName" : "AddressSanitizer" ,
2026-05-19 03:32:03 +08:00
"description" : "ASan validation lane. C++14 Debug with AddressSanitizer, tests enabled, benchmarks disabled, fuzz auto-skipped." ,
2026-05-18 09:41:16 +08:00
"inherits" : "_base" ,
"binaryDir" : "${sourceDir}/build/asan" ,
"cacheVariables" : {
"CMAKE_BUILD_TYPE" : "Debug" ,
"CMAKE_CXX_STANDARD" : "14" ,
2026-05-19 03:32:03 +08:00
"CC_ENABLE_TESTING" : "ON" ,
"CC_ENABLE_BENCHMARKS" : "OFF" ,
"CC_ENABLE_FUZZTEST" : "ON" ,
2026-05-19 14:19:49 +08:00
"CC_ENABLE_ASAN" : "ON"
2026-05-18 09:41:16 +08:00
}
} ,
{
"name" : "fuzz" ,
"displayName" : "Fuzz" ,
2026-05-19 15:43:33 +08:00
"description" : "FuzzTest development lane with coverage-guided fuzzing and ASan. C++17 Debug, requires Clang. Smoke tests run deterministically; continuous fuzzing via direct executable invocation." ,
2026-05-18 09:41:16 +08:00
"inherits" : "_base" ,
"binaryDir" : "${sourceDir}/build/fuzz" ,
"cacheVariables" : {
2026-05-19 15:43:33 +08:00
"CMAKE_BUILD_TYPE" : "RelWithDebInfo" ,
2026-05-19 03:32:03 +08:00
"CMAKE_C_COMPILER" : "clang" ,
"CMAKE_CXX_COMPILER" : "clang++" ,
2026-05-18 09:41:16 +08:00
"CMAKE_CXX_STANDARD" : "17" ,
2026-05-19 03:32:03 +08:00
"CC_ENABLE_TESTING" : "OFF" ,
"CC_ENABLE_BENCHMARKS" : "OFF" ,
"CC_ENABLE_FUZZTEST" : "ON" ,
2026-05-19 14:19:49 +08:00
"CC_ENABLE_ASAN" : "OFF"
2026-05-18 09:41:16 +08:00
}
}
] ,
"buildPresets" : [
{
"name" : "debug" ,
"configurePreset" : "debug"
} ,
{
"name" : "release" ,
"configurePreset" : "release"
} ,
{
"name" : "asan" ,
"configurePreset" : "asan"
} ,
{
"name" : "fuzz" ,
"configurePreset" : "fuzz"
}
] ,
"testPresets" : [
{
"name" : "debug" ,
"configurePreset" : "debug"
} ,
{
"name" : "release" ,
"configurePreset" : "release"
} ,
{
"name" : "asan" ,
"configurePreset" : "asan"
} ,
{
"name" : "fuzz" ,
2026-05-19 15:43:33 +08:00
"configurePreset" : "fuzz" ,
"environment" : {
"ABSL_CONTAINER_DISABLE_SMALL_OBJECT_OPTIMIZATION" : "1"
}
2026-05-18 09:41:16 +08:00
}
]
}