37 lines
1.1 KiB
JSON
37 lines
1.1 KiB
JSON
|
|
{
|
|||
|
|
"tasks": [
|
|||
|
|
{
|
|||
|
|
"type": "cppbuild",
|
|||
|
|
"label": "C/C++: gcc.exe 生成活动文件",
|
|||
|
|
"command": "E:\\mingu\\bin\\gcc.exe",
|
|||
|
|
"args": [
|
|||
|
|
"-fdiagnostics-color=always",
|
|||
|
|
"-g",
|
|||
|
|
"${file}",
|
|||
|
|
"-o",
|
|||
|
|
"${fileDirname}\\${fileBasenameNoExtension}.exe"
|
|||
|
|
],
|
|||
|
|
"options": {
|
|||
|
|
"cwd": "${fileDirname}"
|
|||
|
|
},
|
|||
|
|
"problemMatcher": [
|
|||
|
|
"$gcc"
|
|||
|
|
],
|
|||
|
|
"presentation": {
|
|||
|
|
"panel": "new" //默认为“shared“表示共享,改成new之后每个进程创建新的端口
|
|||
|
|
},
|
|||
|
|
"group": {
|
|||
|
|
"kind": "build",
|
|||
|
|
"isDefault": true
|
|||
|
|
},
|
|||
|
|
"detail": "调试器生成的任务。"
|
|||
|
|
},
|
|||
|
|
{
|
|||
|
|
"label": "Open Terminal",
|
|||
|
|
"type": "shell",
|
|||
|
|
"command": "osascript -e 'tell application \"Terminal\"\ndo script \"echo hello\"\nend tell'",
|
|||
|
|
"problemMatcher": []
|
|||
|
|
}
|
|||
|
|
],
|
|||
|
|
"version": "2.0.0"
|
|||
|
|
}
|