From 7de0da17bff2e68a1056a347af0982a022aaf8ce Mon Sep 17 00:00:00 2001 From: Orazio <22700499+orazioedoardo@users.noreply.github.com> Date: Wed, 26 Jul 2023 13:39:40 +0200 Subject: [PATCH] Improve macOS build instructions --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index a6cfd8d..c93417f 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,10 @@ This project is available as Flatpak on [Flathub](https://flathub.org/apps/detai ### On macOS +Install XCode (or at least Xcode Command Line Tools with `xcode-select --install`) and CMake. + +**Manual compilation:** + * **Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages. * **MacPorts**: Install the `libSDL2`, `libSDL2_mixer` macports packages. @@ -81,6 +85,12 @@ Compile with CMake. Ensure that `CMAKE_OSX_ARCHITECTURES` variable is set for ei Tested with: macOS Big Sur (Intel) with Xcode 13 & macOS Montery Beta (Apple Silicon) with Xcode 13. +**Automated compilation:** + +Run the `build-mac-app.sh` script from the root of the repository. The app will be available in a DMG file named `SpaceCadetPinball--mac.dmg`. + +Tested with: macOS Ventura (Apple Silicon) with Xcode Command Line Tools 14 & macOS Big Sur on GitHub Runner (Intel) with XCode 13. + ## Plans * ~~Decompile original game~~