Created
April 10, 2022 15:27
-
-
Save rhaleblian/5f490047a983f01188b717b2049e40ad to your computer and use it in GitHub Desktop.
86box-apple-silicon-build.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
great