len2910

tasks

May 24th, 2025
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.87 KB | None | 0 0
  1. {
  2.     "tasks": [
  3.         {
  4.             "type": "cppbuild",
  5.             "label": "C/C++: g++.exe 生成活动文件",
  6.             "command": "<编译器路径,以 \\g++.exe 结尾>",
  7.             "args": [
  8.                 "-O2",
  9.                 "-Wall",
  10.                 "-Wextra",
  11.                 "-Wpedantic",
  12.                 "-fdiagnostics-color=always",
  13.                 "-g",
  14.                 "${file}",
  15.                 "-o",
  16.                 "${fileDirname}\\${fileBasenameNoExtension}.exe"
  17.             ],
  18.             "options": {
  19.                 "cwd": "${fileDirname}"
  20.             },
  21.             "problemMatcher": [
  22.                 "$gcc"
  23.             ],
  24.             "group": {
  25.                 "kind": "build",
  26.                 "isDefault": true
  27.             },
  28.             "detail": "调试器生成的任务。"
  29.         }
  30.     ],
  31.     "version": "2.0.0"
  32. }
Advertisement
Add Comment
Please, Sign In to add comment