Automatic Binding Generator using Doxygen, Python, and Sol3
Use with this branch of U3D: https://github.com/SirNate0/U3D/tree/lua-bindings
Build/bin/test-sol3
executable should run without crashing. However, it's not possible to interact with it, as event subscriptions are not finished at present (hence the function at the start of bin/Data/run.lua
that just prints a TODO
.To rebuild the bindings
generator
folderdoxygen Doxyfile
. You will need to edit the Doxyfile to point at your U3D installation first.
generated-xml
contents first, I've had some issues in the past where it looked like it was using old content (I may have been mistaken, but I thought I should mention the possibility).generate-bindings.py
. You will probably have to install a few packages for this.
generator/generated
folder and recreates it (this way old no-longer-existing files are removed and don't stick around).make
from thinking this means all of the generated files change every time, the python code then selectively updates the generator/synced-generated
files based on actual changes.generator/synced-generated
folder is what make
is building, symlinked into the outer project folder as generated
. This avoids the unnecessary extra rebuilding, without needing something like CCache.