From e2a2037a9939416e9364fe58b2b9dceaf8832962 Mon Sep 17 00:00:00 2001 From: Alexander Steffen Date: Tue, 28 Sep 2021 21:42:22 -0400 Subject: [PATCH] Update README.md to include macOS build instructions Include instructions for successful build of Space Cadet Pinball on both Intel macOS and Apple Silicon macOS. Small formatting fix. --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 718bca2..2dd0ed9 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,8 @@ Platforms covered by this project: desktop Windows and Linux. * All structures were populated, globals and locals named. * All subs were decompiled, C pseudo code was converted to compilable C++. Loose (namespace?) subs were assigned to classes. -**Compiling:**\ +**Compiling:** + Project uses `C++11` and depends on `SDL2` libs.\ On Windows:\ Download and unpack devel packages for `SDL2` and `SDL2_mixer`.\ @@ -37,6 +38,12 @@ On Linux:\ Install devel packages for `SDL2` and `SDL2_mixer`.\ Compile with CMake; tested with GCC 10, Clang 11. +On macOS:\ +**Homebrew**: Install the `SDL2`, `SDL2_mixer` homebrew packages.\ +**MacPorts**: Install the `libSDL2`, `libSDL2_mixer` macports packages.\ +Compile with CMake. Ensure that `CMAKE_OSX_ARCHITECTURES` variable is set for either `x86_64` Apple Intel or `arm64` for Apple Silicon.\ +Tested with: macOS Big Sur (Intel) with Xcode 13 & macOS Montery Beta (Apple Silicon) with Xcode 13. + **Plans:** * ~~Decompile original game~~ * ~~Resizable window, scaled graphics~~