Sfoglia il codice sorgente

Merge pull request #4 from MurrayIRC/patch-4

Added OSX build tasks
Murray Campbell 7 anni fa
parent
commit
f97bb085bf
1 ha cambiato i file con 25 aggiunte e 6 eliminazioni
  1. 25 6
      projects/VSCode/.vscode/tasks.json

+ 25 - 6
projects/VSCode/.vscode/tasks.json

@@ -4,30 +4,49 @@
     "version": "2.0.0",
     "tasks": [
         {
-            "label": "build release",
+            "label": "(WIN) build release",
             "type": "process",
             "command": "C:/raylib/mingw/bin/mingw32-make.exe",
             "args": [
                 "PLATFORM=PLATFORM_DESKTOP",
                 "RAYLIB_PATH=C:/raylib/raylib",
-                "PROJECT_NAME=game",
             ],
             "group": "build"
         },
         {
-            "label": "build debug",
+            "label": "(WIN) build debug",
             "type": "process",
             "command": "C:/raylib/mingw/bin/mingw32-make.exe",
             "args": [
                 "PLATFORM=PLATFORM_DESKTOP",
                 "RAYLIB_PATH=C:/raylib/raylib",
-                "PROJECT_NAME=game",
-                "DEBUGGING=TRUE",
+                "DEBUGGING=TRUE"
+            ],
+            "group": "build"
+        },
+        {
+            "label": "(OSX) build debug",
+            "type": "process",
+            "command": "make",
+            "args": [
+                "PLATFORM=PLATFORM_DESKTOP",
+                "RAYLIB_PATH=<path_to_raylib>",
+                "DEBUGGING=TRUE"
             ],
             "group": {
                 "kind": "build",
                 "isDefault": true
             }
+        },
+        {
+            "label": "(OSX) build release",
+            "type": "process",
+            "command": "make",
+            "args": [
+                "PLATFORM=PLATFORM_DESKTOP",
+                "RAYLIB_PATH=<path_to_raylib>",
+            ],
+            "group": "build"
         }
     ]
-}
+}