From 411b2827a8cd0a679b2be1422d0de0c1ec02c566 Mon Sep 17 00:00:00 2001 From: Murray Campbell Date: Wed, 24 Oct 2018 14:35:51 -0500 Subject: [PATCH] Update tasks.json --- projects/VSCode/.vscode/tasks.json | 68 +++++++++++------------------- 1 file changed, 24 insertions(+), 44 deletions(-) diff --git a/projects/VSCode/.vscode/tasks.json b/projects/VSCode/.vscode/tasks.json index d94a2d69..6106c05f 100644 --- a/projects/VSCode/.vscode/tasks.json +++ b/projects/VSCode/.vscode/tasks.json @@ -4,67 +4,47 @@ "version": "2.0.0", "tasks": [ { - "label": "(WIN) build release", - "type": "process", - "command": "C:/raylib/mingw/bin/mingw32-make.exe", - "args": [ - "PLATFORM=PLATFORM_DESKTOP", - "RAYLIB_PATH=C:/raylib/raylib", - ], - "group": "build" - }, - { - "label": "(WIN) build debug", - "type": "process", - "command": "C:/raylib/mingw/bin/mingw32-make.exe", - "args": [ - "PLATFORM=PLATFORM_DESKTOP", - "RAYLIB_PATH=C:/raylib/raylib", - "DEBUGGING=TRUE" - ], - "group": "build" - }, - { - "label": "(OSX) build debug", - "type": "process", - "command": "make", - "args": [ - "PLATFORM=PLATFORM_DESKTOP", - "RAYLIB_PATH=", - "DEBUGGING=TRUE" - ], - "group": "build" - }, - { - "label": "(OSX) build release", - "type": "process", - "command": "make", - "args": [ - "PLATFORM=PLATFORM_DESKTOP", - "RAYLIB_PATH=", - ], - "group": "build" - }, - { - "label": "(GNU) build debug", + "label": "build debug", "type": "process", "command": "make", "args": [ "PLATFORM=PLATFORM_DESKTOP", "DEBUGGING=TRUE" ], + "windows": { + "command": "C:/raylib/mingw/bin/mingw32-make.exe", + "args": [ + "RAYLIB_PATH=C:/raylib/raylib" + ], + }, + "osx": { + "args": [ + "RAYLIB_PATH=/Users/murray/work/ray/raylib" + ], + }, "group": { "kind": "build", "isDefault": true } }, { - "label": "(GNU) build release", + "label": "build release", "type": "process", "command": "make", "args": [ "PLATFORM=PLATFORM_DESKTOP", ], + "windows": { + "command": "C:/raylib/mingw/bin/mingw32-make.exe", + "args": [ + "RAYLIB_PATH=C:/raylib/raylib", + ], + }, + "osx": { + "args": [ + "RAYLIB_PATH=/Users/murray/work/ray/raylib", + ], + }, "group": "build" } ]