This repository has been archived on 2024-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
justhomework/.vscode/tasks.json

24 lines
806 B
JSON
Raw Normal View History

2021-10-03 02:28:37 +00:00
{
"tasks": [
{
2021-12-02 16:09:33 +00:00
"type": "cppbuild",
"label": "Compile",//可以随意更改保证与launch.json的preLaunchTask相同
"command": "g++",
2021-10-15 07:23:25 +00:00
"args": [
2021-12-02 16:09:33 +00:00
"${fileDirname}\\*.cpp",//编译所有文件,根据自己需要更改
"-g",//一定要加这个参数,不然没法加断点
"-o",
"${fileDirname}\\${fileBasenameNoExtension}.exe"
],
"options": {
"cwd": "C:/Project/mingw64/bin"//自己的编译器路径,自行修改
2021-10-15 07:23:25 +00:00
},
2021-12-02 16:09:33 +00:00
"problemMatcher": [
"$gcc"
],
"group": "build",
"detail": "编译器: C:/Project/mingw64/bin/g++.exe"
2021-10-03 02:28:37 +00:00
}
2021-12-02 16:09:33 +00:00
],
"version": "2.0.0"
}