Specifically, automate your current build process with GitHub Actions and 3 separate VMs for calling the builds - macos, windows and linux. They should generate the respective object files. The HEADERS (.h) must also be a part of releases (specifically, a .zip archive, containing them).
This way, it'll be easy and possible to use the code without having to also compile it (since all the compilation will have been already done).
Specifically, automate your current build process with GitHub Actions and 3 separate VMs for calling the builds - macos, windows and linux. They should generate the respective object files. The HEADERS (.h) must also be a part of releases (specifically, a
.ziparchive, containing them).This way, it'll be easy and possible to use the code without having to also compile it (since all the compilation will have been already done).