mirror of
https://github.com/Starpelly/raylib-beef.git
synced 2025-03-15 05:16:58 +01:00
Merge pull request #10 from Booklordofthedings/main
Fix issue with having to change project settings
This commit is contained in:
commit
e2cee4b98f
3 changed files with 3 additions and 11 deletions
|
@ -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
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Then set your app's build settings to:
|
|
||||||
* C Library: Dynamic
|
|
||||||
* Beef Library: Static
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
||||||
## More Links
|
## More Links
|
||||||
* Raylib Repo (https://github.com/raysan5/raylib)
|
* Raylib Repo (https://github.com/raysan5/raylib)
|
||||||
|
|
|
@ -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"]
|
Binary file not shown.
Loading…
Add table
Reference in a new issue