diff --git a/Building-for-macOS.md b/Building-for-macOS.md index 1400eeb..0bcde31 100644 --- a/Building-for-macOS.md +++ b/Building-for-macOS.md @@ -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 ``` \ No newline at end of file