From cffdf93e66ad8be6431c45ac29deddcb89b24247 Mon Sep 17 00:00:00 2001 From: Ki Rill Date: Mon, 8 Jul 2024 13:29:39 +0500 Subject: [PATCH] update --- .gitignore | 1 + .../raylib_firstWindow/dub.json | 58 +++---------------- 2 files changed, 10 insertions(+), 49 deletions(-) diff --git a/.gitignore b/.gitignore index 468b317..b347b2c 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,5 @@ lib/ *.dll *.out *.exe +*.pdb d-raylib-project-template \ No newline at end of file diff --git a/lesson#11 - Opening a window and drawing with Raylib/raylib_firstWindow/dub.json b/lesson#11 - Opening a window and drawing with Raylib/raylib_firstWindow/dub.json index 54b8fac..d6617f3 100644 --- a/lesson#11 - Opening a window and drawing with Raylib/raylib_firstWindow/dub.json +++ b/lesson#11 - Opening a window and drawing with Raylib/raylib_firstWindow/dub.json @@ -2,58 +2,18 @@ "authors": [ "rillki" ], - "configurations": [ - { - "lflags": [ - "-framework", - "IOKit", - "-framework", - "Cocoa", - "-framework", - "OpenGL" - ], - "libs": [ - "raylib" - ], - "name": "osx-app", - "platforms": [ - "osx" - ], - "targetType": "executable" - }, - { - "libs": [ - "raylib", - "GL", - "m", - "pthread", - "dl", - "rt", - "X11" - ], - "name": "linux-app", - "platforms": [ - "linux" - ], - "targetType": "executable" - }, - { - "libs": [ - "raylib" - ], - "name": "windows-app", - "platforms": [ - "windows" - ], - "targetType": "executable" - } - ], "copyright": "Copyright © 2021, rillki", "dependencies": { - "raylib-d": "~>4.5.0" + "raylib-d": "~>5.0.1" }, + "libs": [ "raylib" ], + "lflags-posix" : ["-L."], + "lflags-osx" : ["-rpath", "@executable_path/"], + "lflags-linux" : ["-rpath=$$ORIGIN"], + "preBuildCommands": [ + "dub run raylib-d:install" + ], "description": "D/Raylib minimal setup", "license": "no license", - "name": "d-raylib-project-template", - "targetPath": "bin" + "name": "d-raylib-project-template" } \ No newline at end of file