mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2025-06-21 04:41:12 +08:00
partially restore correct macos build
parent
9fc7ba8e42
commit
f7680e854e
@ -12,7 +12,29 @@ cd suyu
|
|||||||
|
|
||||||
Install dependencies from Homebrew:
|
Install dependencies from Homebrew:
|
||||||
```sh
|
```sh
|
||||||
brew install autoconf automake boost@1.76 ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@5 sdl2 speexdsp zlib zlib zstd
|
brew install autoconf automake boost ccache ffmpeg fmt glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@5 sdl2 speexdsp zlib zlib zstd cmake Catch2 molten-vk vulkan-loader
|
||||||
|
```
|
||||||
|
|
||||||
|
Clone the repo
|
||||||
|
```sh
|
||||||
|
git clone https://gitlab.com/suyu-emu/suyu.git
|
||||||
|
|
||||||
|
cd suyu
|
||||||
|
|
||||||
|
git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
||||||
|
Build for release
|
||||||
|
```sh
|
||||||
|
mkdir build && cd build
|
||||||
|
|
||||||
|
export Qt5_DIR="/opt/homebrew/opt/qt@5/lib/cmake"
|
||||||
|
|
||||||
|
export LIBVULKAN_PATH=/opt/homebrew/lib/libvulkan.dylib
|
||||||
|
|
||||||
|
cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DSUYU_USE_BUNDLED_VCPKG=OFF -DSUYU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF -DCLANG_FORMAT=ON -DSDL2_DISABLE_INSTALL=ON -DSDL_ALTIVEC=ON
|
||||||
|
|
||||||
|
ninja
|
||||||
```
|
```
|
||||||
|
|
||||||
Build with debug symbols (vcpkg is not currently used due to broken boost-context library):
|
Build with debug symbols (vcpkg is not currently used due to broken boost-context library):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user