C# bindings for SDL3 (https://github.com/libsdl-org/SDL)
Go to file
Bartłomiej Dach 0fd6a6c930
Enable dynamic support for `libdecor` inside SDL3
Done by locally building & installing `libdecor` before building SDL3.

Note that the `libdecor` binaries aren't shipped here, because I can't
make them work inside C# apps. It looks like both SDL and `libdecor`
do some level of automagic lookup of shared objects; SDL does it to find
`libdecor`, and `libdecor` does it to find its "plugins" which are
really implementations of the window decoration (if it fails to find
any, it just disables itself).

So this is just going to depend on system-ambient `libdecor` to be
present, and if there is none, then it'll fail to work. See if I care.

At this point I would like to extend my thanks to the gnome team for
wasting a day of my life on all this.

Note that x86 SDL binaries will not have this `libdecor` support enabled,
because SDL uses cmake and `libdecor` uses meson, and there is no
portable way to tell them both to build a 32-bit binary. Well, that's a
half-truth; you can pass CFLAGS to meson via envvars, *but* the install
script later will just install the resulting binaries as if they were
x64, which leads SDL cmake to not find them, and therefore not enable
dynamic `libdecor` support. So let's just not bother.
2024-05-22 15:29:24 +02:00
.config Initial SDL3-CS binding project with ClangSharp 2024-04-06 00:57:07 +02:00
.github/workflows Specify SDL3 commit to build 2024-05-18 12:50:52 +02:00
.idea Adjust run configs 2024-04-20 19:32:41 +09:00
.run Adjust run configs 2024-04-20 19:32:41 +09:00
SDL3-CS Update SDL3 bindings 2024-05-18 12:26:03 +02:00
SDL3-CS.Android Update Android SDL binaries 2024-05-18 04:23:10 +00:00
SDL3-CS.SourceGeneration Change all namespaces to `SDL` (from `SDL3`) 2024-04-19 19:02:22 +02:00
SDL3-CS.Tests Add test for visualising positional input events 2024-05-21 13:48:26 +02:00
SDL3-CS.Tests.Android Remove unnecessary reference (it's transitive) 2024-04-20 19:32:41 +09:00
SDL3-CS.Tests.Desktop Change namespaces from SDL3 -> SDL 2024-04-20 21:08:58 +09:00
SDL3-CS.Tests.iOS Change namespaces from SDL3 -> SDL 2024-04-20 21:08:58 +09:00
native Merge remote-tracking branch 'upstream/update-android-binaries' 2024-05-18 13:50:07 +09:00
.editorconfig Fix .editorconfig generated code glob pattern 2024-04-16 12:49:38 +02:00
.gitattributes Add global/base files 2024-04-05 23:59:34 +02:00
.gitignore Add MVP android tests 2024-04-19 19:34:09 +02:00
.globalconfig Add global/base files 2024-04-05 23:59:34 +02:00
Directory.Build.props Move NuGet config to final csproj 2024-04-07 15:17:29 +09:00
LICENCE Add global/base files 2024-04-05 23:59:34 +02:00
README.md Add README 2024-04-04 03:12:48 +09:00
SDL3-CS.Android.slnf Adjust filtered solutions 2024-04-20 19:43:46 +09:00
SDL3-CS.Desktop.slnf Adjust filtered solutions 2024-04-20 19:43:46 +09:00
SDL3-CS.iOS.slnf Adjust filtered solutions 2024-04-20 19:43:46 +09:00
SDL3-CS.licenseheader Add global/base files 2024-04-05 23:59:34 +02:00
SDL3-CS.sln Add iOS tests project 2024-04-20 19:32:41 +09:00
SDL3-CS.sln.DotSettings Update to Rider 2024.1 DotSettings 2024-04-15 19:41:25 +02:00
build.sh Enable dynamic support for `libdecor` inside SDL3 2024-05-22 15:29:24 +02:00
global.json Add global/base files 2024-04-05 23:59:34 +02:00

README.md

SDL3-CS