As a major requirement to changing the build system, cross compilation with mingw and osxcross needs to be tested and documented.
Current make-based cross compilation, as used by Xonotic, is implemented here: https://gitlab.com/xonotic/xonotic/-/blob/master/misc/tools/all/release.subr#L268