63 lines
1.8 KiB
JSON
63 lines
1.8 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"type": "shell",
|
|
"command": "${command:eide.project.build}",
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "flash",
|
|
"type": "shell",
|
|
"command": "${command:eide.project.uploadToDevice}",
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "build and flash",
|
|
"type": "shell",
|
|
"command": "${command:eide.project.buildAndFlash}",
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "rebuild",
|
|
"type": "shell",
|
|
"command": "${command:eide.project.rebuild}",
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "clean",
|
|
"type": "shell",
|
|
"command": "${command:eide.project.clean}",
|
|
"group": "build",
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: gcc.exe 生成活动文件",
|
|
"command": "D:\\x86_64-8.1.0-release-posix-seh-rt_v6-rev0\\mingw64\\bin\\gcc.exe",
|
|
"args": [
|
|
"-fdiagnostics-color=always",
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
|
],
|
|
"options": {
|
|
"cwd": "${fileDirname}"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "调试器生成的任务。"
|
|
}
|
|
]
|
|
} |