Full instruction available on wiki:
For quite some time I want to have ability to make Windows builds of VCMI, but I’m don’t really want to use games firmware for anything except games. So only option is using cross-compilation using MinGW, but every time I attempted to at least build Boost it’s didn’t I was bored long before process was anywhere near to complete.
Though this time after I’m partially built Boost I’m find out about project called MXE and it’s likely have everything VCMI need. Building process is quite simple and there is very few changes needed to achieve successful compilation.
Commands and diff on gist:
gist.github.com/ArseniyShestako … 8cd7c021b0
With few changes to bypass conflicts with Windows headers and case sensitivity it’s able to compile everything, but launcher and client linking failing:
gist.github.com/ArseniyShestako … 3b63c0ddf6
This is likely related to fact that by default MXE use static linking and looks like client can’t be easily statically linked this way.