u3d-community / U3D

Open-source, cross-platform 2D and 3D game engine built in C++
https://u3d.io
MIT License
187 stars 30 forks source link

Add support for macOS Monterey 12 #30

Closed SirNate0 closed 1 year ago

SirNate0 commented 1 year ago

Addresses #12.

I have not tested actually running any applications, but the builds at least complete now on both the github runner and my local machine. Though locally I did encounter some errors related to signing the code (I have not set that up yet) when I did not set the environment variable CI=true.

Most of the fixes, it turns out, where actually just disabling a lot of the previous fixes and build optimizations that had been applied in the build system - it seems they are no longer useful with the newer CMake and Xcode (and end up causing problems instead of solving them). Possibly this breaks builds on systems with older CMake/Xcode.

SirNate0 commented 1 year ago

Also addresses https://github.com/u3d-community/U3D/issues/28, though not completely (we should probably not require two builds of the library to use the newly generated toluabind.{c,h} code). It is possible that just enabling the new build system would fix the build failure without this change, but I have not tested that.

SirNate0 commented 1 year ago

And I can confirm that all of the samples I have tried run successfully. (Which granted was only a few of them).