lwmem/.vscode/tasks.json

54 lines
1.4 KiB
JSON
Raw Normal View History

2021-12-13 09:40:04 +01:00
{
"version": "2.0.0",
/* For this builds, you need
*
* - Ninja build system
* - MSYS2 compiler with ninja support
* - C/C++ extension for VSCode
* - CMake-Tools extension for VSCode
*/
"tasks": [
{
"type": "cppbuild",
"label": "Build project",
"command": "cmake",
"args": ["--build", "\"build\""],
2021-12-13 09:40:04 +01:00
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"],
2021-12-13 09:40:04 +01:00
"group": {
"kind": "build",
"isDefault": true
}
},
2021-12-13 18:35:04 +01:00
{
"type": "shell",
"label": "Re-build project",
2021-12-13 18:35:04 +01:00
"command": "cmake",
"args": ["--build", "\"build\"", "--clean-first", "-v"],
2021-12-13 18:35:04 +01:00
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": ["$gcc"],
2021-12-13 18:35:04 +01:00
},
2021-12-13 09:40:04 +01:00
{
"type": "shell",
"label": "Clean project",
"command": "cmake",
"args": ["--build", "\"build\"", "--target", "clean"],
2021-12-13 09:40:04 +01:00
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": []
},
{
"type": "shell",
"label": "Run application",
2021-12-13 18:35:04 +01:00
"command": "${workspaceFolder}\\build\\LwLibPROJECT.exe",
2021-12-13 09:40:04 +01:00
"args": [],
"problemMatcher": [],
},
]
}