From 98d4ab35f180bb143286eba3a8a710c6fedf612b Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Fri, 23 Mar 2018 14:09:19 -0500 Subject: [PATCH] build_proton: Build Wine with MoltenVK --- build_proton.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build_proton.sh b/build_proton.sh index 45bb21c4..1efa49d6 100755 --- a/build_proton.sh +++ b/build_proton.sh @@ -184,6 +184,18 @@ build_libSDL() fi } +build_moltenvk() +{ + #requires Xcode >= 9 + cd "$TOP"/MoltenVK/ + ./fetchDependencies + xcodebuild -scheme 'MoltenVK (Release)' build + + cp -a Package/Release/MoltenVK/include/* "$TOOLS_DIR64"/include/ + cp -a Package/Release/MoltenVK/macOS/libMoltenVK.dylib "$TOOLS_DIR64"/lib/ + cp -a Package/Release/MoltenVK/macOS/libMoltenVK.dylib "$DST_DIR"/lib64/ +} + if [ "$PLATFORM" == "Darwin" ]; then STRIP='strip -x' else @@ -288,6 +300,8 @@ if [ "$PLATFORM" == "Darwin" ]; then build_openal build_libSDL + + build_moltenvk fi function build_wine64