Browse Source

Documentation: fix wrong envvar in windows xcompile instructions, better wording

pull/2/head
Alibek Omarov 2 years ago
parent
commit
57c71efe53
  1. 4
      Documentation/cross-compiling-for-windows-with-wine.md

4
Documentation/cross-compiling-for-windows-with-wine.md

@ -3,7 +3,7 @@
This can be useful to test engine in Wine without using virtual machines or dual-booting to Windows. This can be useful to test engine in Wine without using virtual machines or dual-booting to Windows.
0. Clone and install https://github.com/mstorsjo/msvc-wine (you can skip CMake part) 0. Clone and install https://github.com/mstorsjo/msvc-wine (you can skip CMake part)
1. Set environment variable WINE_MSVC_PATH to the path to installed MSVC toolchain 1. Set environment variable MSVC_WINE_PATH to the path to installed MSVC toolchain
2. Pre-load wine: `wineserver -k; wineserver -p; wine64 wineboot` 2. Pre-load wine: `wineserver -k; wineserver -p; wine64 wineboot`
3. Run `./waf configure -T <build-type> --enable-wine-msvc --sdl2=../SDL2_VC`. Configuration step will take more time than usual. 3. Run `./waf configure -T <build-type> --enable-wine-msvc --sdl2=../SDL2_VC`. Configuration step will take more time than usual.
4. Follow other typical steps to build from console, except keep in mind you're in decent Operating System now. 4. .. other typical steps to build from console ...

Loading…
Cancel
Save