dearimgui / dear_bindings

C header (and language binding metadata) generator for Dear ImGui
MIT License
221 stars 12 forks source link

Command-line tweaks and folder structure #6

Closed ocornut closed 2 years ago

ocornut commented 2 years ago

(I'm splitting this away from #1 so we can track smaller chunks.)

ShironekoBen commented 2 years ago

I've updated the code to be much more normal-program like and actually have a command line interface now, as well as hiding away the internals in a subdirectory. Error codes are now also a thing so if CI seems useful we should be able to do that (we probably need a more extensive test project to allow CI to check that the results compile properly, TBH, but arguably even just having CI check the results against the last ones and email out a diff could be interesting as a way of keeping track of if any changes actually look like they might have broken something).

ocornut commented 2 years ago

Thanks!

I moved the documentation files into a docs/ subfolder as github allows that (still shows readme from web). Amazing work on the readme!

@rokups has great experience with github CI so we'll add some form of CI (running dear bindings + compiling/calling result).