lvgl-hmi-display-ui/simulator.code-workspace

112 lines
2.4 KiB
Plaintext

{
// https://code.visualstudio.com/docs/editor/workspaces
// https://code.visualstudio.com/docs/editor/multi-root-workspaces
// https://code.visualstudio.com/docs/editor/variables-reference
"folders": [
{
"path": "."
},
],
// extensions.json section
"extensions": {
"recommendations": [
"ms-vscode.cpptools", // common C/C++ support
"ms-vscode.cpptools-themes", // general C/C++ theme
"ms-vscode.cmake-tools" // cmake support
],
"unwantedRecommendations": [
]
},
// settings.json section
"settings": {
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"cmake.configureOnOpen": true,
"files.associations": {
"glob.h": "c",
"lvgl.h": "c",
"utility_functions.h": "c"
},
"commentTranslate.browse.mode": "contrast",
},
// tasks.json section
"tasks": {
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"command": "cmake",
"args": [
"--build", "${command:cmake.buildDirectory}"
],
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"owner": "cpp",
"fileLocation": ["relative", "${workspaceFolder}"],
"pattern": {
"regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
}
}
},
{
"label": "Build and Run",
"type": "shell",
"command": "${workspaceFolder}/bin/main",
"group": {
"kind": "test",
"isDefault": true
},
"dependsOn": "Build"
}
],
},
// launch.json section
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Debug LVGL demo with gdb",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/main",
"args": [],
"cwd": "${workspaceFolder}",
"preLaunchTask": "Build",
"stopAtEntry": false,
"linux": {
"MIMode": "gdb",
"miDebuggerPath": "/usr/bin/gdb"
},
"osx": {
"MIMode": "lldb"
},
"windows": {
"MIMode": "gdb",
"miDebuggerPath": "C:\\MinGw\\bin\\gdb.exe"
}
},
{
"name": "Debug LVGL demo with LLVM",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/main",
"args": [],
"cwd": "${workspaceFolder}",
"preLaunchTask": "Build",
"stopAtEntry": false,
"MIMode": "lldb"
},
],
},
}