mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 21:31:04 +00:00
Clang MSYS2 build
parent
d9a6dc517d
commit
883569fdc7
@ -72,7 +72,7 @@ _(Note: Citra by default downloads to `C:\Users\<user-name>\citra` (Master) or `
|
||||
|
||||
* NOTE: Please refer to [Common Issues](https://github.com/citra-emu/citra/wiki/Common-Issues) if any errors. If you did not find a solution feel free to ask us in the IRC channel: #citra @ [Freenode](https://webchat.freenode.net/).
|
||||
|
||||
## MinGW-w64 Build with MSYS2
|
||||
## Clang Build with MSYS2
|
||||
|
||||
#### Prerequisites to install
|
||||
* [MSYS2](http://msys2.github.io/)
|
||||
@ -80,9 +80,9 @@ _(Note: Citra by default downloads to `C:\Users\<user-name>\citra` (Master) or `
|
||||
|
||||
Make sure to follow the instructions and update to the latest version by running `pacman -Syu` as many times as needed.
|
||||
|
||||
#### Install Citra dependencies for MinGW-w64
|
||||
* Open the "MSYS2 MinGW 64-bit" (mingw64.exe) shell
|
||||
* Download and install all dependencies using: `pacman -S mingw-w64-x86_64-{gcc,SDL2,qt6,cmake} make git`
|
||||
#### Install Citra dependencies
|
||||
* Open the "MSYS2 Clang64" (clang64.exe) shell
|
||||
* Download and install all dependencies using: `pacman -S mingw-w64-clang-x86_64-{gcc,qt6,cmake} make git`
|
||||
|
||||
#### Clone the Citra repository with git.
|
||||
|
||||
@ -92,7 +92,7 @@ Make sure to follow the instructions and update to the latest version by running
|
||||
#### Run the following commands to build Citra (dynamic linked build)
|
||||
```bash
|
||||
mkdir build && cd build
|
||||
cmake -G "MSYS Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-DMICROPROFILE_ENABLED=0" ..
|
||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
||||
make -j4
|
||||
# test Citra out with
|
||||
./bin/citra-qt.exe
|
||||
@ -100,11 +100,6 @@ make -j4
|
||||
|
||||
##### 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 (Optional)
|
||||
|
||||
* Instead of installing `mingw-w64-x86_64-qt6` install `mingw-w64-x86_64-qt6-static`
|
||||
* Add `-DMINGW_STATIC_BUILD=1` to the cmake command line
|
||||
|
||||
#### Building without Qt (Optional)
|
||||
|
||||
Doesn't require the rather large Qt dependency, but you will lack a GUI frontend.
|
||||
|
Loading…
Reference in New Issue
Block a user