tasks.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "version": "2.0.0",
  3. "presentation": {
  4. "echo": true,
  5. "reveal": "always",
  6. "focus": true,
  7. "panel": "shared",
  8. "showReuseMessage": true,
  9. "clear": false
  10. },
  11. "tasks": [
  12. {
  13. "label": "Build",
  14. "detail": "Normal build",
  15. "type": "shell",
  16. "command": "make -j SMING_ARCH=${command:cpptools.activeConfigName}",
  17. "problemMatcher": [],
  18. "group": {
  19. "kind": "build",
  20. "isDefault": true
  21. }
  22. },
  23. {
  24. "label": "Full rebuild (no debugging)",
  25. "detail": "Rebuild application and all Components",
  26. "type": "shell",
  27. "command": "make -j ENABLE_GDB=",
  28. "dependsOn": [
  29. "Full clean"
  30. ],
  31. "problemMatcher": []
  32. },
  33. {
  34. "label": "Full rebuild (with debugging)",
  35. "detail": "Rebuild application and all Components",
  36. "type": "shell",
  37. "command": "make -j ENABLE_GDB=1",
  38. "dependsOn": [
  39. "Full clean"
  40. ],
  41. "problemMatcher": []
  42. },
  43. {
  44. "label": "flash",
  45. "detail": "Write all partitions to device",
  46. "type": "shell",
  47. "command": "make flash SMING_ARCH=${command:cpptools.activeConfigName}",
  48. "problemMatcher": []
  49. },
  50. {
  51. "label": "run",
  52. "detail": "Run application for Host",
  53. "type": "shell",
  54. "command": "make -j run SMING_ARCH=Host",
  55. "problemMatcher": []
  56. },
  57. {
  58. "label": "Flash and Run",
  59. "detail": "Build, flash and run application for Host",
  60. "type": "shell",
  61. "command": "make -j flash run SMING_ARCH=Host",
  62. "problemMatcher": []
  63. },
  64. {
  65. "label": "clean",
  66. "detail": "Clean just the application",
  67. "type": "shell",
  68. "command": "make clean SMING_ARCH=${command:cpptools.activeConfigName}",
  69. "problemMatcher": []
  70. },
  71. {
  72. "label": "Full clean",
  73. "detail": "Clean application and all Components",
  74. "type": "shell",
  75. "command": "make clean components-clean SMING_ARCH=${command:cpptools.activeConfigName}",
  76. "problemMatcher": []
  77. },
  78. {
  79. "label": "Distribution Clean",
  80. "detail": "Cleans application, all components and re-initialises all submodules",
  81. "type": "shell",
  82. "command": "make dist-clean",
  83. "problemMatcher": []
  84. }
  85. ]
  86. }