Created
March 18, 2022 13:37
-
-
Save zsnmwy/ea376f6e28f31a89da3af29ed6d9fead to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"tasks": [ | |
{ | |
"type": "cppbuild", | |
"label": "C/C++: gcc.exe 生成活动文件", | |
"command": "C:\\Program Files\\mingw-w64\\x86_64-8.1.0-posix-seh-rt_v6-rev0\\mingw64\\bin\\gcc.exe", | |
"args": [ | |
"-g", | |
"${file}", | |
"-o", | |
"${fileDirname}\\${fileBasenameNoExtension}.exe" | |
], | |
"options": { | |
"cwd": "${workspaceFolder}" | |
}, | |
"problemMatcher": [ | |
"$gcc" | |
], | |
"group": { | |
"kind": "build", | |
}, | |
"detail": "调试器生成的任务。" | |
}, | |
{ | |
"type": "shell", | |
"dependsOn": ["C/C++: gcc.exe 生成活动文件"], | |
"dependsOrder": "sequence", | |
"label": "运行程序", | |
"command": "${fileDirname}\\${fileBasenameNoExtension}.exe", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
} | |
], | |
"version": "2.0.0" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment