From ded7e2732dec4cd51347288bcdfa9b6b6a25a8f0 Mon Sep 17 00:00:00 2001 From: liamwhite Date: Sun, 4 Dec 2022 17:23:31 -0500 Subject: [PATCH] Created Building for macOS (markdown) --- Building-for-macOS.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Building-for-macOS.md diff --git a/Building-for-macOS.md b/Building-for-macOS.md new file mode 100644 index 0000000..d3618e3 --- /dev/null +++ b/Building-for-macOS.md @@ -0,0 +1,19 @@ +This article was written for developers. yuzu support for macOS is not ready for casual use. +--- + +Install dependencies from Homebrew: +```sh +brew install autoconf automake boost@1.76 ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl qt@5 sdl2 speexdsp zlib zlib zstd +``` + +Build with debug symbols (vcpkg is not currently used due to broken boost-context library): +```sh +mkdir build && cd build +cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF +ninja +``` + +Run the output: +``` +bin/yuzu.app/Contents/MacOS/yuzu +``` \ No newline at end of file