mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-02-07 14:14:10 +08:00
57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "Build project",
|
|
"command": "cmake",
|
|
"args": ["--build", "\"build\"", "-j", "8"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": ["$gcc"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Re-build project",
|
|
"command": "cmake",
|
|
"args": ["--build", "\"build\"", "--clean-first", "-v", "-j", "8"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": ["$gcc"],
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Clean project",
|
|
"command": "cmake",
|
|
"args": ["--build", "\"build\"", "--target", "clean"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Run CMake configuration",
|
|
"command": "cmake",
|
|
"args": [
|
|
"--no-warn-unused-cli",
|
|
"-DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE",
|
|
"-DCMAKE_BUILD_TYPE:STRING=Debug",
|
|
"-DCMAKE_TOOLCHAIN_FILE:FILEPATH=gcc-arm-none-eabi.cmake",
|
|
"-Bbuild",
|
|
"-G", "Ninja"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|