Updated Building for Windows (markdown)

Cameron Cawley 2019-11-11 19:44:24 +00:00
parent 01dda57866
commit 83026d0825

@ -65,7 +65,7 @@ Make sure to follow the instructions and update to the latest version by running
#### Install Citra dependencies for MinGW-w64 #### Install Citra dependencies for MinGW-w64
* Open the "MSYS2 MinGW 64-bit" (mingw64.exe) shell * Open the "MSYS2 MinGW 64-bit" (mingw64.exe) shell
* Download and install all dependencies using: `pacman -S mingw-w64-x86_64-toolchain mingw-w64-x86_64-qt5 mingw-w64-x86_64-SDL2 mingw-w64-x86_64-cmake git` * Download and install all dependencies using: `pacman -S mingw-w64-x86_64-{gcc,SDL2,qt5,cmake} make git`
#### Clone the Citra repository with git. #### Clone the Citra repository with git.
@ -75,9 +75,8 @@ Make sure to follow the instructions and update to the latest version by running
#### Run the following commands to build Citra (dynamic linked build) #### Run the following commands to build Citra (dynamic linked build)
```bash ```bash
mkdir build && cd build mkdir build && cd build
cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_CXX_FLAGS="-DMICROPROFILE_ENABLED=0" .. cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-DMICROPROFILE_ENABLED=0" ..
# should we use `make`? make -j4
mingw32-make -j4
# test Citra out with # test Citra out with
./bin/citra-qt.exe ./bin/citra-qt.exe
``` ```