cleans project setup
This commit is contained in:
16
.vscode/extensions.json
vendored
Normal file
16
.vscode/extensions.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"recommendations": [
|
||||
"mkhl.direnv",
|
||||
"sanaajani.taskrunnercode",
|
||||
"ms-vscode.cpptools-themes",
|
||||
"cnshenj.vscode-task-manager",
|
||||
"twxs.cmake",
|
||||
"kylinideteam.cmake-intellisence",
|
||||
"kylinideteam.kylin-cmake-tools",
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
"eclipse-cdt.cdt-gdb-vscode",
|
||||
"eclipse-cdt.memory-inspector",
|
||||
"eclipse-cdt.peripheral-inspector",
|
||||
"ms-python.python"
|
||||
]
|
||||
}
|
25
.vscode/launch.json
vendored
25
.vscode/launch.json
vendored
@@ -5,21 +5,18 @@
|
||||
"version": "0.2.0",
|
||||
"configurations": [{
|
||||
"name": "cci_param_restricted",
|
||||
"type": "cppdbg",
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceRoot}/build/tests/cci_param_restricted/cci_param_restricted",
|
||||
"linux": {
|
||||
"MIMode": "gdb",
|
||||
"miDebuggerPath": "/usr/bin/gdb"
|
||||
},
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "Enable pretty-printing for gdb",
|
||||
"text": "-enable-pretty-printing",
|
||||
"ignoreFailures": true
|
||||
}
|
||||
],
|
||||
"program": "${workspaceRoot}/build/Debug/tests/cci_param_restricted/cci_param_restricted",
|
||||
"preLaunchTask": "CMake: build"
|
||||
}]
|
||||
},{
|
||||
"name": "dmi_access",
|
||||
"type": "gdb",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceRoot}",
|
||||
"program": "${workspaceRoot}/build/Debug/tests/memory_subsys/memory_subsys",
|
||||
"preLaunchTask": "CMake: build"
|
||||
}
|
||||
]
|
||||
}
|
30
.vscode/settings.json
vendored
Normal file
30
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"editor.rulers": [
|
||||
{
|
||||
"column": 140,
|
||||
"comment": "clang-format"
|
||||
}
|
||||
],
|
||||
"clangd.arguments": [
|
||||
"--pretty",
|
||||
"--background-index",
|
||||
"--compile-commands-dir=${workspaceFolder}/build"
|
||||
],
|
||||
"cmake.buildDirectory" : "${workspaceRoot}/build/${buildType}",
|
||||
"cmake.configureArgs": ["-B", "${workspaceRoot}/build/${buildType}"],
|
||||
"cmake.configureOnOpen": false,
|
||||
"cmake.configureOnEdit": true,
|
||||
"cmake.autoSelectActiveFolder": true,
|
||||
"cmake.exportCompileCommandsFile": true,
|
||||
"cmake.skipConfigureIfCachePresent": false,
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/build/compile_commands.json",
|
||||
"cmake.options.statusBarVisibility": "hidden",
|
||||
"cmake.options.advanced": {
|
||||
"configure": {"projectStatusVisibility": "visible"},
|
||||
"build": {"statusBarVisibility": "visible"}
|
||||
},
|
||||
"todo-tree.ripgrep.ripgrep": "/bin/rg",
|
||||
"files.watcherExclude": {
|
||||
"**/build": true
|
||||
}
|
||||
}
|
16
.vscode/tasks.json
vendored
16
.vscode/tasks.json
vendored
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "cmake",
|
||||
"label": "CMake: build",
|
||||
"command": "build",
|
||||
"targets": [
|
||||
"all"
|
||||
],
|
||||
"group": "build",
|
||||
"problemMatcher": ["$gcc"],
|
||||
"detail": "CMake template build task",
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user