tasks.json 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "version": "2.0.0",
  3. "tasks": [
  4. {
  5. "label": "make example",
  6. "type": "shell",
  7. "command": "make example",
  8. "problemMatcher": [
  9. "$gcc"
  10. ],
  11. "group": {
  12. "kind": "build",
  13. "isDefault": true
  14. }
  15. },
  16. {
  17. "label": "make clean",
  18. "type": "shell",
  19. "command": "make clean",
  20. "problemMatcher": [
  21. "$gcc"
  22. ],
  23. "group": "build"
  24. },
  25. {
  26. "label": "make unittest",
  27. "type": "shell",
  28. "command": "make unittest",
  29. "problemMatcher": [
  30. "$gcc"
  31. ]
  32. },
  33. {
  34. "label": "make integrationtest",
  35. "type": "shell",
  36. "command": "make integrationtest",
  37. "problemMatcher": [
  38. "$gcc"
  39. ]
  40. },
  41. {
  42. "label": "make test",
  43. "type": "shell",
  44. "command": "make test",
  45. "problemMatcher": [
  46. "$gcc"
  47. ],
  48. "group": {
  49. "kind": "test",
  50. "isDefault": true
  51. }
  52. },
  53. {
  54. "type": "shell",
  55. "label": "gcc build active file",
  56. "command": "/usr/bin/gcc",
  57. "args": [
  58. "-g",
  59. "${file}",
  60. "-o",
  61. "${fileDirname}/${fileBasenameNoExtension}"
  62. ],
  63. "options": {
  64. "cwd": "/usr/bin"
  65. }
  66. }
  67. ]
  68. }