flibitijibibo / SDL3-CS

Other
7 stars 0 forks source link

README: Build/Generate Instructions #1

Open flibitijibibo opened 1 day ago

flibitijibibo commented 1 day ago

It'd be nice to have a quick block that goes step-by-step for generating the json and cs output. In particular, knowing when to autogenerate and when to manually change something will be important for fixing the remaining TODOs for SDL3_FNAPlatform.

With this I think I should be able to finish the FNAPlatform.

flibitijibibo commented 12 hours ago

Latest ffi.json is generated by running c2ffi on a tiny C file that's just

#include <SDL3/SDL.h>
#include <SDL3/SDL_main.h>
thatcosmonaut commented 12 hours ago

There's a command line incantation you can do to avoid that, I'll post it next time I boot into Linux.