tasks.json 570 B

12345678910111213141516171819202122232425262728
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "type": "cppbuild",
  6. "label": "C/C++: g++.exe build active file",
  7. "command": "C:\\Users\\user\\scoop\\apps\\gcc\\current\\bin\\g++.exe",
  8. "args": [
  9. "-fdiagnostics-color=always",
  10. "-g",
  11. "${file}",
  12. "-o",
  13. "${fileDirname}\\${fileBasenameNoExtension}.exe"
  14. ],
  15. "options": {
  16. "cwd": "${fileDirname}"
  17. },
  18. "problemMatcher": [
  19. "$gcc"
  20. ],
  21. "group": {
  22. "kind": "build",
  23. "isDefault": true
  24. },
  25. "detail": "compiler: C:\\Users\\user\\scoop\\apps\\gcc\\current\\bin\\g++.exe"
  26. }
  27. ]
  28. }