Updated Building For Windows (markdown)

Jannik Vogel 2016-11-13 23:15:50 +01:00
parent db3b988919
commit ba9b910fb0

@ -62,12 +62,8 @@ NOTE: Citra by default downloads to C:\Users\<user-name>\citra
** Make sure to follow the instructions and update to the latest version by running `pacman -Syu` as many times as needed.
#### Install citra dependancies for mingw-w64
* Open the mingw64.exe shell
* Use `pacman -S {name}` to install them where name is the following dependancies
** mingw64/mingw-w64-x86_64-qt5
** mingw64/mingw-w64-x86_64-SDL2
** mingw64/mingw-w64-x86_64-cmake
** git
* Open the "MSYS2 MinGW 64-bit" (mingw64.exe) shell
* Download and install all dependencies using: `pacman -S mingw-w64-x86_64-qt5 mingw-w64-x86_64-SDL2 mingw-w64-x86_64-cmake git`
#### Clone the citra repository with git.
** `git clone --recursive https://github.com/citra-emu/citra.git`
@ -80,7 +76,7 @@ cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release ..
##### Note! This build is not a static build meaning that you need to include all of the dlls with the exe in order to use it.
#### Creating a static build
#### Creating a static build (Optional)
* Instead of installing mingw64/mingw-w64-x86_64-qt5 install mingw64/mingw-w64-x86_64-qt5-static
* Add -DMINGW_STATIC_BUILD to the cmake command line
* Instead of installing `mingw-w64-x86_64-qt5` install `mingw-w64-x86_64-qt5-static`
* Add `-DMINGW_STATIC_BUILD` to the cmake command line