diff options
| author | Jarosław Jaros <[email protected]> | 2021-10-18 22:00:54 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-18 22:00:54 +0200 |
| commit | d8e0b2e27c021364efc87edd5ab29deb946f7062 (patch) | |
| tree | d8bd674c778cacebfa842e0107643338882005fa /projects/VSCode | |
| parent | 6ac3043e881dc8e2ea80792903871f87e73faca3 (diff) | |
| download | raylib-d8e0b2e27c021364efc87edd5ab29deb946f7062.tar.gz raylib-d8e0b2e27c021364efc87edd5ab29deb946f7062.zip | |
Allow to run any file (#2069)
Diffstat (limited to 'projects/VSCode')
| -rw-r--r-- | projects/VSCode/.vscode/tasks.json | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/projects/VSCode/.vscode/tasks.json b/projects/VSCode/.vscode/tasks.json index 989e13b0..a610a248 100644 --- a/projects/VSCode/.vscode/tasks.json +++ b/projects/VSCode/.vscode/tasks.json @@ -9,7 +9,9 @@ "command": "make", "args": [ "PLATFORM=PLATFORM_DESKTOP", - "BUILD_MODE=DEBUG" + "BUILD_MODE=DEBUG", + "PROJECT_NAME=${fileBasenameNoExtension}", + "OBJS=${fileBasenameNoExtension}.c" ], "windows": { "command": "C:/raylib/mingw/bin/mingw32-make.exe", @@ -42,6 +44,8 @@ "command": "make", "args": [ "PLATFORM=PLATFORM_DESKTOP", + "PROJECT_NAME=${fileBasenameNoExtension}", + "OBJS=${fileBasenameNoExtension}.c" ], "windows": { "command": "C:/raylib/mingw/bin/mingw32-make.exe", @@ -64,4 +68,4 @@ ] } ] -} +}
\ No newline at end of file |
