選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

67 行
2.1 KiB

  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. "BUILD_MODE=DEBUG"
  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. "OBJS=${fileBasenameNoExtension}.c",
  20. "BUILD_MODE=DEBUG"
  21. ],
  22. },
  23. "osx": {
  24. "args": [
  25. "RAYLIB_PATH=<path_to_raylib>/raylib",
  26. "PROJECT_NAME=${fileBasenameNoExtension}",
  27. "OBJS=${fileBasenameNoExtension}.c",
  28. "BUILD_MODE=DEBUG"
  29. ],
  30. },
  31. "group": {
  32. "kind": "build",
  33. "isDefault": true
  34. },
  35. "problemMatcher": [
  36. "$gcc"
  37. ]
  38. },
  39. {
  40. "label": "build release",
  41. "type": "process",
  42. "command": "make",
  43. "args": [
  44. "PLATFORM=PLATFORM_DESKTOP",
  45. ],
  46. "windows": {
  47. "command": "C:/raylib/mingw/bin/mingw32-make.exe",
  48. "args": [
  49. "RAYLIB_PATH=C:/raylib/raylib",
  50. "PROJECT_NAME=${fileBasenameNoExtension}",
  51. "OBJS=${fileBasenameNoExtension}.c"
  52. ],
  53. },
  54. "osx": {
  55. "args": [
  56. "RAYLIB_PATH=<path_to_raylib>/raylib",
  57. "PROJECT_NAME=${fileBasenameNoExtension}",
  58. "OBJS=${fileBasenameNoExtension}.c"
  59. ],
  60. },
  61. "group": "build",
  62. "problemMatcher": [
  63. "$gcc"
  64. ]
  65. }
  66. ]
  67. }