forked from LadybirdBrowser/ladybird
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
63 lines (63 loc) · 1.56 KB
/
CMakePresets.json
File metadata and controls
63 lines (63 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"version": 9,
"cmakeMinimumRequired": {
"major": 3,
"minor": 30,
"patch": 0
},
"include": [
"Meta/CMake/presets/CMake${hostSystemName}Presets.json"
],
"buildPresets": [
{
"name": "Release",
"inherits": "base",
"configurePreset": "Release",
"displayName": "Release Build",
"description": "Build the project in release"
},
{
"name": "Debug",
"inherits": "base",
"configurePreset": "Debug",
"displayName": "Debug Build",
"description": "Build the project in debug"
},
{
"name": "Sanitizer",
"inherits": "base",
"configurePreset": "Sanitizer",
"displayName": "Sanitizer Build",
"description": "Build the project with Sanitizers on Unix"
}
],
"testPresets": [
{
"hidden": true,
"name": "root_base",
"inherits": "base",
"environment": {
"LADYBIRD_SOURCE_DIR": "${fileDir}"
}
},
{
"name": "Release",
"inherits": "root_base",
"configurePreset": "Release"
},
{
"name": "Debug",
"inherits": "root_base",
"configurePreset": "Debug"
},
{
"name": "Sanitizer",
"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}"
}
}
]
}