Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 559 Bytes

cross-compiling-for-windows-with-wine.md

File metadata and controls

9 lines (7 loc) · 559 Bytes

Cross-compiling for Windows with Wine

This can be useful to test engine in Wine without using virtual machines or dual-booting to Windows.

  1. Clone and install https://github.com/mstorsjo/msvc-wine (you can skip CMake part)
  2. Set environment variable MSVC_WINE_PATH to the path to installed MSVC toolchain
  3. Pre-load wine: wineserver -k; wineserver -p; wine64 wineboot
  4. Run ./waf configure -T <build-type> --enable-wine-msvc --sdl2=../SDL2_VC. Configuration step will take more time than usual.
  5. .. other typical steps to build from console ...