tasks.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. // See https://go.microsoft.com/fwlink/?LinkId=733558
  3. // for the documentation about the tasks.json format
  4. "version": "2.0.0",
  5. "tasks": [
  6. {
  7. "label": "Build example_app",
  8. "type": "shell",
  9. "options": {
  10. "cwd": "${workspaceFolder}/build"
  11. },
  12. "problemMatcher": "$gcc",
  13. "group": {
  14. "kind": "build",
  15. "isDefault": true
  16. },
  17. "command": "cmake --build ."
  18. },
  19. {
  20. "label": "Build unit tests",
  21. "type": "shell",
  22. "problemMatcher": "$gcc",
  23. "group": "build",
  24. "linux": {
  25. "options": {
  26. "cwd": "${workspaceFolder}/contrib/ports/unix/check/build"
  27. },
  28. },
  29. "windows": {
  30. "options": {
  31. "cwd": "${workspaceFolder}/contrib/ports/win32/check/build"
  32. },
  33. },
  34. "command": "cmake --build ."
  35. },
  36. {
  37. "label": "Configure example_app",
  38. "type": "shell",
  39. "problemMatcher": "$gcc",
  40. "group": "build",
  41. "command": "cd ${workspaceFolder}; mkdir build; cd build; cmake .."
  42. },
  43. {
  44. "label": "Generate documentation",
  45. "type": "shell",
  46. "problemMatcher": [],
  47. "group": "none",
  48. "options": {
  49. "cwd": "${workspaceFolder}/build"
  50. },
  51. "command": "cmake --build . --target lwipdocs"
  52. }
  53. ]
  54. }