gsplus/doc/Developer-QuickStart-MacOSX...

24 lines
693 B
Plaintext
Raw Normal View History

2016-02-06 13:32:57 +00:00
# Mac OSX - SDL2 version
2016-10-19 17:01:33 +00:00
#
# This should build a `gsplus` executable and copy it to the project root dir.
# You can run it, though as always you need to supply an Apple IIgs ROM file.
# Have fun, and please note any errors on the issues page of the project.
# Prerequisite: You must install Xcode on your system from the App Store
# Also, install Xcode cli tools.
2016-10-19 17:01:33 +00:00
xcode-select --install
2016-02-06 13:32:57 +00:00
# Install 'brew'.
2017-12-28 21:22:20 +00:00
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Use brew to install dependencies.
brew install sdl2 sdl2_image freetype re2c cmake
2016-02-06 13:32:57 +00:00
# Clone & Build.
2016-02-06 13:32:57 +00:00
git clone git@github.com:digarok/gsplus.git
mkdir build ; cd build
cmake ..
make