You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.7KB

  1. {
  2. "version": "0.1.0",
  3. "command": "make",
  4. "isShellCommand": true,
  5. "tasks": [
  6. {
  7. "taskName": "Makefile",
  8. // Make this the default build command.
  9. "isBuildCommand": true,
  10. // Show the output window only if unrecognized errors occur.
  11. "showOutput": "always",
  12. // No args
  13. "args": ["all"],
  14. // Use the standard less compilation problem matcher.
  15. "problemMatcher": {
  16. "owner": "cpp",
  17. "fileLocation": ["relative", "${workspaceRoot}"],
  18. "pattern": {
  19. "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
  20. "file": 1,
  21. "line": 2,
  22. "column": 3,
  23. "severity": 4,
  24. "message": 5
  25. }
  26. }
  27. },
  28. {
  29. "taskName": "clean",
  30. // Make this the default build command.
  31. "isBuildCommand": false,
  32. // Show the output window only if unrecognized errors occur.
  33. "showOutput": "always",
  34. // No args
  35. "args": ["clean"],
  36. // Use the standard less compilation problem matcher.
  37. "problemMatcher": {
  38. "owner": "cpp",
  39. "fileLocation": ["relative", "${workspaceRoot}"],
  40. "pattern": {
  41. "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
  42. "file": 1,
  43. "line": 2,
  44. "column": 3,
  45. "severity": 4,
  46. "message": 5
  47. }
  48. }
  49. }
  50. ]
  51. }