mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-21 22:40:06 +00:00
Updated Building for macOS (markdown)
parent
aade2c0e12
commit
3d21eeea92
@ -24,25 +24,18 @@ First of all, you have to tell CMake where your Qt5 is installed (add this line
|
||||
export Qt5_DIR=$(brew --prefix)/opt/qt5
|
||||
```
|
||||
|
||||
Now you can generate project files for the build:
|
||||
Now you can generate makefiles for the build:
|
||||
```
|
||||
export MACOSX_DEPLOYMENT_TARGET=10.9
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -GXcode
|
||||
```
|
||||
Optionally, you can use `cmake -i .. -GXcode` or `ccmake .. -GXcode` to adjust various options (e.g. disable Qt GUI).
|
||||
|
||||
#### Building with debug symbols:
|
||||
|
||||
```
|
||||
cmake .. -GXcode -DCMAKE_BUILD_TYPE=Debug
|
||||
cmake .. -DUSE_SYSTEM_CURL=ON -DCMAKE_OSX_ARCHITECTURES="x86_64;x86_64h" -DCMAKE_BUILD_TYPE=Release
|
||||
```
|
||||
|
||||
### Building Citra:
|
||||
This builds a fat binary that has slices targeting early and late x64 machines.
|
||||
|
||||
Open the project file in Xcode, switch the target from `ALL_BUILD` to `citra` or `citra_qt`, and press the play button. The project can also be built via:
|
||||
### Building Citra
|
||||
|
||||
```
|
||||
xcodebuild -config Release -project citra.xcodeproj -target citra-qt
|
||||
make -j4
|
||||
```
|
Loading…
Reference in New Issue
Block a user