forked from neobrain/citra
-
Notifications
You must be signed in to change notification settings - Fork 2
OS X Build
archshift edited this page Oct 11, 2014
·
10 revisions
It's recommended that you use homebrew to install dependencies. You'll need to download and install the following to build Citra:
-
pkg-config (
brew install pkgconfig
) -
GLFW (
brew tap homebrew/versions
,brew install glfw3
) -
Qt5 (
brew install qt5
) -
CMake (
brew install cmake
)
Should you choose not to use homebrew, type these commands in a terminal:
git clone https://github.com/glfw/glfw.git
cd glfw
mkdir build && cd build
cmake ..
make
sudo make install
git clone https://github.com/citra-emu/citra
cd citra
git submodule update --init
mkdir build
cd build
cmake .. -GXcode
Optionally, you can use cmake -i ..
to adjust various options (e.g. disable Qt GUI).
cmake .. -GXcode -DCMAKE_BUILD_TYPE=Debug
Open the project file in Xcode, switch the target from ALL_BUILD
to citra
or citra_qt
, and press the play button.