Merge pull request #10 from Booklordofthedings/main

Fix issue with having to change project settings
This commit is contained in:
Braedon Lewis 2024-03-31 18:53:17 -04:00 committed by GitHub
commit e2cee4b98f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 11 deletions

View file

@ -4,8 +4,6 @@
BeefLang bindings for **Raylib 5.0**. BeefLang bindings for **Raylib 5.0**.
> **Note**: OS is limited to Windows & WebAssembly right now, I see no reason why this wouldn't work on other platforms, though. I guess only one way to find out.
## Example ## Example
```cs ```cs
using System; using System;
@ -70,12 +68,6 @@ On Windows, default linking is set to dynamically link to raylib. This is becaus
![image](https://github.com/Starpelly/raylib-beef/assets/24588691/d78c5e3f-62ac-4927-89c2-7e73b1262ed7) ![image](https://github.com/Starpelly/raylib-beef/assets/24588691/d78c5e3f-62ac-4927-89c2-7e73b1262ed7)
Then set your app's build settings to:
* C Library: Dynamic
* Beef Library: Static
![image](https://github.com/Starpelly/raylib-beef/assets/24588691/9a0e1f4d-6291-4378-9a1f-708a81e5c149)
## More Links ## More Links
* Raylib Repo (https://github.com/raysan5/raylib) * Raylib Repo (https://github.com/raysan5/raylib)

View file

@ -60,12 +60,12 @@ LibPaths = ["$(ProjectDir)\\libs\\_x64\\libraylib.a"]
[Configs.StaticDebug.Win64] [Configs.StaticDebug.Win64]
OtherLinkFlags = "$(LinkFlags) -libpath:\"$(ProjectDir)/libs/libs_x64\"" OtherLinkFlags = "$(LinkFlags) -libpath:\"$(ProjectDir)/libs/libs_x64\""
LibPaths = ["$(ProjectDir)\\libs\\libs_x64\\staticraylib.lib"] LibPaths = ["$(ProjectDir)\\libs\\libs_x64\\staticraylib.lib", "user32.lib", "gdi32.lib", "windowsapp.lib", "shell32.lib"]
[Configs.StaticRelease.Win64] [Configs.StaticRelease.Win64]
OtherLinkFlags = "$(LinkFlags) -libpath:\"$(ProjectDir)/libs/libs_x64\"" OtherLinkFlags = "$(LinkFlags) -libpath:\"$(ProjectDir)/libs/libs_x64\""
LibPaths = ["$(ProjectDir)\\libs\\libs_x64\\staticraylib.lib"] LibPaths = ["$(ProjectDir)\\libs\\libs_x64\\staticraylib.lib", "user32.lib", "gdi32.lib", "windowsapp.lib", "shell32.lib"]
[Configs.StaticTest.Win64] [Configs.StaticTest.Win64]
OtherLinkFlags = "$(LinkFlags) -libpath:\"$(ProjectDir)/libs/libs_x64\"" OtherLinkFlags = "$(LinkFlags) -libpath:\"$(ProjectDir)/libs/libs_x64\""
LibPaths = ["$(ProjectDir)\\libs\\libs_x64\\staticraylib.lib"] LibPaths = ["$(ProjectDir)\\libs\\libs_x64\\staticraylib.lib", "user32.lib", "gdi32.lib", "windowsapp.lib", "shell32.lib"]