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/DataStructure/Code/.vscode/tasks.json
2021-12-19 22:25:07 +08:00

24 lines
No EOL
806 B
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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