I have a c++ library that is currently being built separately for the different OS. Windows and Linux are built from a Windows computer with WSL and Mac OS is built separately. For automatization purposes, I would like to be able to build the library for Mac OS also from the same Windows installation.
However, I'm having difficulties to find a tool to cross-compile from windows to mac os. I would appreciate any hint to achieve this.
The targeted goal is to be able to simply build for all platforms in one click using scripts, without requiring to have a computer always running and waiting for a build signal.