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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
{
"version": 3,
"configurePresets": [
{
"name": "debug",
"displayName": "Debug Build",
"description": "Debug build with symbols",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"BOLTDBG_BUILD_TESTS": "ON",
"BOLTDBG_BUILD_EXAMPLES": "ON",
"BOLTDBG_USE_SYSTEM_LIBS": "ON"
}
},
{
"name": "release",
"displayName": "Release Build",
"description": "Optimized release build",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"BOLTDBG_BUILD_TESTS": "OFF",
"BOLTDBG_BUILD_EXAMPLES": "OFF",
"BOLTDBG_USE_SYSTEM_LIBS": "ON"
}
},
{
"name": "debug-asan",
"displayName": "Debug with Address Sanitizer",
"description": "Debug build with ASAN enabled",
"binaryDir": "${sourceDir}/build/debug-asan",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"BOLTDBG_BUILD_TESTS": "ON",
"BOLTDBG_ENABLE_ASAN": "ON",
"BOLTDBG_USE_SYSTEM_LIBS": "ON"
}
},
{
"name": "debug-ubsan",
"displayName": "Debug with UBSan",
"description": "Debug build with Undefined Behavior Sanitizer",
"binaryDir": "${sourceDir}/build/debug-ubsan",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"BOLTDBG_BUILD_TESTS": "ON",
"BOLTDBG_ENABLE_UBSAN": "ON",
"BOLTDBG_USE_SYSTEM_LIBS": "ON"
}
}
],
"buildPresets": [
{
"name": "debug",
"configurePreset": "debug"
},
{
"name": "release",
"configurePreset": "release"
},
{
"name": "debug-asan",
"configurePreset": "debug-asan"
}
],
"testPresets": [
{
"name": "debug",
"configurePreset": "debug",
"output": {
"outputOnFailure": true
}
},
{
"name": "debug-asan",
"configurePreset": "debug-asan",
"output": {
"outputOnFailure": true
}
}
]
}
|