Skip to content

Instantly share code, notes, and snippets.

@rhaleblian
Created April 10, 2022 15:27
Show Gist options
  • Save rhaleblian/5f490047a983f01188b717b2049e40ad to your computer and use it in GitHub Desktop.
Save rhaleblian/5f490047a983f01188b717b2049e40ad to your computer and use it in GitHub Desktop.
86box-apple-silicon-build.sh
cmake -B build -S . --toolchain "./cmake/llvm-macos-aarch64.cmake" \
-D VNC=OFF -D NEW_DYNAREC=ON -D QT=ON -D USE_QT6=ON \
-D Qt6QCocoaIntegrationPlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Gui \
-D Qt6QMacStylePlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Widgets \
-D Qt6QICOPlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Gui \
-D Qt6QICNSPlugin_DIR=/opt/homebrew/Cellar/qt/6.2.3_1/lib/cmake/Qt6Gui \
--install-prefix /Users/$USER/Developer/86Box/build/src/ -DCMAKE_BUILD_TYPE=Release -G Ninja -DFAUDIO=ON
cmake --build build --target install && codesign --force --deep -s - ./build/src/86Box.app
@rhaleblian
Copy link
Author

great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment