-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakePresets.json
More file actions
85 lines (85 loc) · 2.56 KB
/
Copy pathCMakePresets.json
File metadata and controls
85 lines (85 loc) · 2.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"version": 3,
"cmakeMinimumRequired": {
"major": 3,
"minor": 21,
"patch": 0
},
"configurePresets": [
{
"name": "release",
"displayName": "Release",
"description": "Release build with GStreamer (default ON, optional dep per backend-scope.md; binaryDir: build/release)",
"binaryDir": "${sourceDir}/build/release",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release",
"MISBKLV_GSTREAMER": "ON"
}
},
{
"name": "default",
"displayName": "Default",
"description": "Default alias for release (Release, binaryDir: build/release)",
"inherits": "release"
},
{
"name": "debug",
"displayName": "Debug",
"description": "Debug build with GStreamer (default ON; binaryDir: build/debug)",
"binaryDir": "${sourceDir}/build/debug",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"MISBKLV_GSTREAMER": "ON"
}
},
{
"name": "sanitize",
"displayName": "Sanitize (core-only)",
"description": "Sanitizer core-only build per ci.yml (Debug, MISBKLV_SANITIZE=ON + MISBKLV_GSTREAMER=OFF to avoid gstreamer ASan noise; binaryDir: build/sanitize — maps to CI's build-san)",
"inherits": "debug",
"binaryDir": "${sourceDir}/build/sanitize",
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug",
"MISBKLV_SANITIZE": "ON",
"MISBKLV_GSTREAMER": "OFF"
}
}
],
"buildPresets": [
{
"name": "base",
"hidden": true,
"displayName": "Base build (hidden)",
"description": "Hidden base with jobs=6 (nproc=7 -> 6, nproc-1 to leave headroom) — inherited to keep jobs DRY",
"jobs": 6
},
{
"name": "release",
"displayName": "Release build",
"description": "Build release preset (jobs=6 via inherited base)",
"configurePreset": "release",
"inherits": "base"
},
{
"name": "default",
"displayName": "Default build",
"description": "Build default preset (jobs=6, nproc-1 to leave headroom; inherits base)",
"configurePreset": "default",
"inherits": "base"
},
{
"name": "debug",
"displayName": "Debug build",
"description": "Build debug preset (jobs=6 via inherited base)",
"configurePreset": "debug",
"inherits": "base"
},
{
"name": "sanitize",
"displayName": "Sanitize build (core-only)",
"description": "Build sanitizer core-only preset per ci.yml (jobs=6 via inherited base)",
"configurePreset": "sanitize",
"inherits": "base"
}
]
}