58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Compile",
|
|
"command": "g++",
|
|
"args": [
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}\\${fileBasenameNoExtension}.exe",
|
|
"-g",
|
|
"-Wall",
|
|
"-static-libgcc",
|
|
"-fexec-charset=GBK",
|
|
"-std=c++14",
|
|
"-O2"
|
|
],
|
|
"type": "process",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "commit gitee",
|
|
"type": "shell",
|
|
"command": "D:\\python\\一键推拉.cmd",
|
|
"group": "build"
|
|
},
|
|
{
|
|
"type": "cppbuild",
|
|
"label": "C/C++: gcc.exe 生成活动文件",
|
|
"command": "C:/TDM-GCC-64/bin/gcc.exe",
|
|
"args": [
|
|
"-fdiagnostics-color=always",
|
|
"-g",
|
|
"${file}",
|
|
"-o",
|
|
"${fileDirname}\\${fileBasenameNoExtension}.exe",
|
|
"-fexec-charset=GBK"
|
|
],
|
|
"options": {
|
|
"cwd": "C:/TDM-GCC-64/bin"
|
|
},
|
|
"problemMatcher": [
|
|
"$gcc"
|
|
],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"detail": "调试器生成的任务。"
|
|
}
|
|
]
|
|
} |