mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-22 06:20:05 +00:00
Added clang-cl instructions
parent
58fe2b3c72
commit
c891d09bcb
@ -97,3 +97,28 @@ mingw32-make -j4
|
||||
Doesn't require the rather large Qt dependency, but you will lack a GUI frontend.
|
||||
|
||||
* Pass the `-DENABLE_QT=no` flag to cmake
|
||||
|
||||
|
||||
## Clang build using clang-cl
|
||||
|
||||
#### Prerequistes to install
|
||||
* **[LLVM](http://releases.llvm.org/download.html#3.9.0)** - The clang compiler
|
||||
* **[Visual Studio 2015 Community](https://www.visualstudio.com/products/visual-studio-community-vs)** - **Make sure to select C++ support in the installer**.
|
||||
* **[CMake](http://www.cmake.org/cmake/resources/software.html)** - Used to generate Visual Studio project files.
|
||||
* **Git** - We recommend [msysgit](http://msysgit.github.io/).
|
||||
Follow the installers instructions.
|
||||
|
||||
#### Clone the citra repository with git.
|
||||
|
||||
* `git clone --recursive https://github.com/citra-emu/citra.git`
|
||||
* `cd citra`
|
||||
|
||||
#### Run the following commands to build citra
|
||||
```
|
||||
mkdir build
|
||||
cd build
|
||||
cmake.exe .. -TLLVM-vs2014 -G"Visual Studio 14 2015 Win64" -DCITRA_USE_BUNDLED_SDL2=1 -DCITRA_USE_BUNDLED_QT=1 -DCMAKE_BUILD_TYPE=Release
|
||||
cmake --build --target citra-qt
|
||||
# test citra out with
|
||||
.\bin\Release\citra-qt
|
||||
```
|
Loading…
Reference in New Issue
Block a user