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.6 KiB

6 years ago
6 years ago
  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 debug",
  8. "type": "process",
  9. "command": "make",
  10. "args": [
  11. "PLATFORM=PLATFORM_DESKTOP",
  12. "DEBUGGING=TRUE"
  13. ],
  14. "windows": {
  15. "command": "C:/raylib/mingw/bin/mingw32-make.exe",
  16. "args": [
  17. "RAYLIB_PATH=C:/raylib/raylib",
  18. "PROJECT_NAME=${fileBasenameNoExtension}",
  19. ],
  20. },
  21. "osx": {
  22. "args": [
  23. "RAYLIB_PATH=<path_to_raylib>/raylib"
  24. ],
  25. },
  26. "group": {
  27. "kind": "build",
  28. "isDefault": true
  29. },
  30. "problemMatcher": [
  31. "$gcc"
  32. ]
  33. },
  34. {
  35. "label": "build release",
  36. "type": "process",
  37. "command": "make",
  38. "args": [
  39. "PLATFORM=PLATFORM_DESKTOP",
  40. ],
  41. "windows": {
  42. "command": "C:/raylib/mingw/bin/mingw32-make.exe",
  43. "args": [
  44. "RAYLIB_PATH=C:/raylib/raylib",
  45. "PROJECT_NAME=${fileBasenameNoExtension}",
  46. ],
  47. },
  48. "osx": {
  49. "args": [
  50. "RAYLIB_PATH=<path_to_raylib>/raylib",
  51. ],
  52. },
  53. "group": "build",
  54. "problemMatcher": [
  55. "$gcc"
  56. ]
  57. }
  58. ]
  59. }