2016-02-06 13:32:57 +00:00
|
|
|
# Mac OSX - SDL2 version
|
2016-10-19 17:01:33 +00:00
|
|
|
#
|
2018-07-17 20:47:44 +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
|
|
|
|
2018-07-17 20:47:44 +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)"
|
2018-07-17 20:47:44 +00:00
|
|
|
|
|
|
|
# Use brew to install dependencies.
|
2019-07-28 20:08:07 +00:00
|
|
|
brew install cmake pkg-config re2c sdl2 sdl2_image freetype
|
2016-02-06 13:32:57 +00:00
|
|
|
|
2019-04-09 11:01:45 +00:00
|
|
|
# Clone & Build.
|
2016-02-06 13:32:57 +00:00
|
|
|
git clone git@github.com:digarok/gsplus.git
|
2019-04-09 11:01:45 +00:00
|
|
|
mkdir build ; cd build
|
|
|
|
cmake ..
|
|
|
|
make
|