Updated Building for macOS (markdown)

Merry 2018-01-14 11:27:24 +00:00
parent 5a3f68acfb
commit b103290f07

@ -4,7 +4,7 @@ It's recommended that you use [homebrew](http://brew.sh/) to install dependencie
You'll need to download and install the following to build yuzu: You'll need to download and install the following to build yuzu:
* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) (`brew install pkgconfig`) * [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) (`brew install pkgconfig`)
* [SDL2](https://www.libsdl.org/download-2.0.php) (`brew install sdl2`, or download [this dmg](https://www.libsdl.org/release/SDL2-2.0.4.dmg)) * [SDL2](https://www.libsdl.org/download-2.0.php) (`brew install sdl2`)
* [Qt5](https://www.qt.io/download/) (`brew install qt5`) (**Note:** If you have Qt4 installed, then you will need to remove it before building. `brew unlink qt4`) * [Qt5](https://www.qt.io/download/) (`brew install qt5`) (**Note:** If you have Qt4 installed, then you will need to remove it before building. `brew unlink qt4`)
* [CMake](https://cmake.org/) (`brew install cmake`) * [CMake](https://cmake.org/) (`brew install cmake`)
* A recent version of Xcode and the Xcode command line tools * A recent version of Xcode and the Xcode command line tools
@ -17,6 +17,17 @@ cd yuzu
git submodule update --init --recursive git submodule update --init --recursive
``` ```
### Building unicorn:
```
pushd externals
git clone https://github.com/yuzu-emu/unicorn
cd unicorn
UNICORN_ARCHS=aarch64 ./make.sh macos-universal-no
export UNICORNDIR=$(pwd)
popd
```
### Using CMake: ### Using CMake:
First of all, you have to tell CMake where your Qt5 is installed (add this line to ~/.profile if you want to make this permanent.): First of all, you have to tell CMake where your Qt5 is installed (add this line to ~/.profile if you want to make this permanent.):