mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-26 06:02:54 +08:00
46 lines
1.3 KiB
JSON
46 lines
1.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "Build project",
|
|
"command": "cmake",
|
|
"args": ["--build", "${command:cmake.buildDirectory}", "-j", "8"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": ["$gcc"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Re-build project",
|
|
"command": "cmake",
|
|
"args": ["--build", "${command:cmake.buildDirectory}", "--clean-first", "-v", "-j", "8"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": ["$gcc"],
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Clean project",
|
|
"command": "cmake",
|
|
"args": ["--build", "${command:cmake.buildDirectory}", "--target", "clean"],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "shell",
|
|
"label": "Run application",
|
|
"command": "${command:cmake.launchTargetPath}",
|
|
"args": [],
|
|
"problemMatcher": [],
|
|
}
|
|
]
|
|
} |