mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 07:05:40 +00:00
Update README.md with macOS build details
Update README.md with macOS build and run instructions
This commit is contained in:
parent
78f5056223
commit
ffc320904e
39
README.md
39
README.md
|
@ -71,3 +71,42 @@ For network support:
|
|||
```
|
||||
make -f Makefiles/Makefile.UNIX NET_BOARD=1
|
||||
```
|
||||
|
||||
### macOS
|
||||
|
||||
Ensure Apple's Xcode Command Line Tools are installed:
|
||||
|
||||
From a terminal:
|
||||
```
|
||||
xcode-select --install
|
||||
```
|
||||
|
||||
Ensure SDL2 is installed. Download the latest *.dmg files from both of the links below, and install per the READMEs in the .dmgs (i.e. in "/Library/Frameworks")
|
||||
|
||||
* SDL2: https://github.com/libsdl-org/SDL/releases
|
||||
|
||||
* SDL_net: https://github.com/libsdl-org/SDL_net/releases
|
||||
|
||||
|
||||
And then build Supermodel:
|
||||
|
||||
```
|
||||
make -f Makefiles/Makefile.OSX
|
||||
```
|
||||
|
||||
For network support:
|
||||
|
||||
```
|
||||
make -f Makefiles/Makefile.OSX NET_BOARD=1
|
||||
```
|
||||
|
||||
### Note: running on macOS
|
||||
If you try and run a macOS binary that was downloaded from the internet and/or built on a different machine, you need to grant macOS permission to execute the binary (just 1-time):
|
||||
|
||||
* Open the folder containing the binary in Finder, and right (or ctrl) click on it:
|
||||
|
||||
* Click "Open" when the following dialogue box appears : "macOS cannot verify the developer of “supermodel-git-xxxx”. Are you sure you want to open it?"
|
||||
|
||||
* Close the terminal window that opens (after clicking open)
|
||||
|
||||
Details: https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac
|
||||
|
|
Loading…
Reference in a new issue