Commit Graph

7 Commits

Author SHA1 Message Date
Dan Balasescu 59cb0158ba
Add desktop tests project
The primary purpose of this is to split out the handling of the native
libs. This is a consequence of using ProjectReference, and resolves the
following issues:

1. When compiling for iOS, it really doesn't like multiple files being
   included in the same output path. Example: all Windows SDL.dll files
   placed as SDL.dll in the output path.
2. Even if (1) was somehow resolved, the iOS build also doesn't like the
   linux-specific .so files being included.
3. As a consequence of (1), it's likely that the project already doesn't
   work on some configurations. For example, because win-x86 is
   specified as the last item, it will likely take precedence over all
   other versions.
4. It looks like `RuntimeIdentifier` is not project-transitive, against
   my expectations. I really want the project to both select the correct
   single native lib for the current platform, and also support
   compiling with a RID (`dotnet build -r ...`).

So now we only copy the correct lib to the output path, and don't do it
while packaging (not required).
2024-04-20 19:30:24 +09:00
Susko3 2a253a0e2d Add MVP android tests 2024-04-19 19:34:09 +02:00
Dan Balasescu d3481d3a81
Rename SDL3-CS-Android -> SDL3-CS.Android 2024-04-16 03:25:29 +09:00
hwsmm fb74af1481 Add SDL3-CS-Android and workflow 2024-04-16 00:39:51 +09:00
Susko3 bb9834d0a9 Add sample/tests project
Just a playground to see how the string/type/array friendly overloads work.
You'll have to provide the SDL3 library manually.
2024-04-06 14:47:39 +02:00
Susko3 c5e3181962 Add source generator for `ReadOnlySpan<byte>` overloads of C `const char *` functions 2024-04-06 14:24:33 +02:00
Susko3 7012887e6f Add global/base files 2024-04-05 23:59:34 +02:00