Computational-Geometry-G1 / godot-wiimote

A Godot GDExtension project to add wii remote support into godot projects
GNU Lesser General Public License v3.0
12 stars 2 forks source link

added cross-platform cmake build #7

Closed vorlac closed 9 months ago

ace4971 commented 9 months ago

does this compile the whole engine and wiiuse by default?

vorlac commented 9 months ago

yeah, but it only builds the engine once (it checks to see if the executable is in extern/godot-engine/bin, if not it'll just invoke a scons build for a debug mode build of the editor that works well for debugging). It'll also build wiiuse from the source in the new submodule, but once the .lib/.a is built it shouldn't really have to do much work for future builds as long as you don't wipe out the cmake cache (the temp .out/ dir).

ace4971 commented 9 months ago

do you think there's a way to set it up such that building the engine is optional (including the cloning of that repo?). On my machine the godot repo is ~2.3GiB and it took at least 7 in order to build a debug version of the engine (not to mention a lot of time) and I don't think that'll be needed for debugging the vast majority of improvements to this GDExtension.