I write a lot of hobby projects in C++. I work on Linux, but most of the end users of my tools waill be Windows users, so this necessitates setting up methods for producing windows binaries on Linux.
There are tools I've used for this before, including mingw-w64 and MXE. These work, but they have downsides:
- They aren't binary compatible with MSVC's runtime libraries, so you're forced to bundle a separate runtime somehow.