-
Notifications
You must be signed in to change notification settings - Fork 0
/
embed-utils.code-workspace
129 lines (129 loc) · 3.83 KB
/
embed-utils.code-workspace
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"folders": [
{
"path": "."
}
],
"settings": {
"C_Cpp.default.configurationProvider": "mesonbuild.mesonbuild",
"C_Cpp.default.compileCommands": "builddir/compile_commands.json",
"C_Cpp.formatting": "clangFormat",
"C_Cpp.intelliSenseEngine": "disabled",
"clangd.onConfigChanged": "restart",
"clangd.arguments": [
"--compile-commands-dir=builddir",
"--function-arg-placeholders=1",
"--header-insertion=iwyu", //enable: iwyu, disable: never
"--clang-tidy",
"--all-scopes-completion",
"--enable-config",
"--cross-file-rename",
"--background-index",
"--query-driver=D:/mingw64/bin/gcc.exe",
// "--log=verbose",
// "--pretty",
],
"files.associations": {
"*.s": "arm"
},
"mesonbuild.configureOptions": [
"--buildtype",
"debug",
"-Dnative=true",
"-Dwarning_level=3"
]
},
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "meson - build",
"type": "meson",
"mode": "build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"base": "$gcc",
"fileLocation": [
"relative",
"${workspaceFolder}/builddir"
]
},
"presentation": {
"focus": true,
"clear": true
},
"target": "main_size:run"
},
{
"label": "meson - clean",
"type": "meson",
"mode": "clean",
"isBackground": true,
"presentation": {
"clear": true,
"close": true,
"reveal": "silent",
"panel": "shared"
},
// "group": {
// "kind": "test",
// "isDefault": true
// }
},
{
"label": "meson - run",
"type": "shell",
"command": [
"./builddir/main"
],
"isBackground": true,
"presentation": {
"clear": true,
"close": false,
"reveal": "silent",
"panel": "shared",
"focus": true
},
"group": {
"kind": "test",
"isDefault": true
}
}
]
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "main",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/builddir/main.exe",
"cwd": "${workspaceFolder}/builddir",
"environment": [],
"externalConsole": true,
"MIMode": "gdb",
"miDebuggerPath": "gdb",
// "launchCompleteCommand": "exec-continue",
"unknownBreakpointHandling": "stop",
"stopAtEntry": false,
"setupCommands": [
{
"text": "set output-radix 16"
}
]
}
],
"compounds": []
},
"extensions": {
"recommendations": [
"ms-vscode.cpptools",
"ms-vscode.vscode-embedded-tools",
"mesonbuild.mesonbuild",
]
}
}