2024-06-03 18:33:28 -03:00
|
|
|
{
|
2026-01-16 18:43:13 -03:00
|
|
|
"version": 9,
|
2024-06-03 18:33:28 -03:00
|
|
|
"cmakeMinimumRequired": {
|
|
|
|
|
"major": 3,
|
2026-01-16 18:43:13 -03:00
|
|
|
"minor": 30,
|
2024-06-03 18:33:28 -03:00
|
|
|
"patch": 0
|
|
|
|
|
},
|
2026-01-16 18:43:13 -03:00
|
|
|
"include": [
|
|
|
|
|
"Meta/CMake/presets/CMake${hostSystemName}Presets.json"
|
2024-06-03 18:33:28 -03:00
|
|
|
],
|
2024-06-04 19:27:48 -03:00
|
|
|
"buildPresets": [
|
|
|
|
|
{
|
2025-05-31 03:21:46 -03:00
|
|
|
"name": "Release",
|
2026-01-16 18:43:13 -03:00
|
|
|
"inherits": "base",
|
2025-05-31 03:21:46 -03:00
|
|
|
"configurePreset": "Release",
|
2025-06-25 13:25:12 -03:00
|
|
|
"displayName": "Release Build",
|
2026-01-16 18:43:13 -03:00
|
|
|
"description": "Build the project in release"
|
2024-06-04 19:27:48 -03:00
|
|
|
},
|
2024-10-08 23:33:33 -03:00
|
|
|
{
|
2025-05-31 03:21:46 -03:00
|
|
|
"name": "Debug",
|
2026-01-16 18:43:13 -03:00
|
|
|
"inherits": "base",
|
2025-05-31 03:21:46 -03:00
|
|
|
"configurePreset": "Debug",
|
2025-06-25 13:25:12 -03:00
|
|
|
"displayName": "Debug Build",
|
2026-01-16 18:43:13 -03:00
|
|
|
"description": "Build the project in debug"
|
2025-01-20 12:38:01 -03:00
|
|
|
},
|
2024-10-08 23:33:33 -03:00
|
|
|
{
|
2024-06-04 19:27:48 -03:00
|
|
|
"name": "Sanitizer",
|
2026-01-16 18:43:13 -03:00
|
|
|
"inherits": "base",
|
2024-06-04 19:27:48 -03:00
|
|
|
"configurePreset": "Sanitizer",
|
2025-06-25 13:25:12 -03:00
|
|
|
"displayName": "Sanitizer Build",
|
|
|
|
|
"description": "Build the project with Sanitizers on Unix"
|
2024-06-04 19:27:48 -03:00
|
|
|
}
|
|
|
|
|
],
|
2024-06-03 18:33:28 -03:00
|
|
|
"testPresets": [
|
|
|
|
|
{
|
2025-05-20 14:03:53 -03:00
|
|
|
"hidden": true,
|
2026-01-16 18:43:13 -03:00
|
|
|
"name": "root_base",
|
2025-05-31 03:21:46 -03:00
|
|
|
"inherits": "base",
|
2025-06-16 18:07:09 -03:00
|
|
|
"environment": {
|
2026-01-16 18:43:13 -03:00
|
|
|
"LADYBIRD_SOURCE_DIR": "${fileDir}"
|
2025-06-16 18:07:09 -03:00
|
|
|
}
|
|
|
|
|
},
|
2024-06-03 18:33:28 -03:00
|
|
|
{
|
2025-05-31 03:21:46 -03:00
|
|
|
"name": "Release",
|
2026-01-16 18:43:13 -03:00
|
|
|
"inherits": "root_base",
|
2025-05-31 03:21:46 -03:00
|
|
|
"configurePreset": "Release"
|
2024-08-28 02:54:49 -03:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"name": "Debug",
|
2026-01-16 18:43:13 -03:00
|
|
|
"inherits": "root_base",
|
2024-08-28 02:54:49 -03:00
|
|
|
"configurePreset": "Debug"
|
2025-01-20 12:38:01 -03:00
|
|
|
},
|
2025-05-20 14:03:53 -03:00
|
|
|
{
|
2025-05-31 03:21:46 -03:00
|
|
|
"name": "Sanitizer",
|
2026-01-16 18:43:13 -03:00
|
|
|
"inherits": "root_base",
|
|
|
|
|
"configurePreset": "Sanitizer",
|
|
|
|
|
"environment": {
|
|
|
|
|
"ASAN_OPTIONS": "strict_string_checks=1:check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1:allocator_may_return_null=1:$penv{ASAN_OPTIONS}",
|
|
|
|
|
"UBSAN_OPTIONS": "print_stacktrace=1:print_summary=1:halt_on_error=1:$penv{UBSAN_OPTIONS}"
|
|
|
|
|
}
|
2024-06-03 18:33:28 -03:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|