gsplus/README.md

46 lines
1003 B
Markdown
Raw Permalink Normal View History

2019-05-11 15:32:24 +00:00
# GS+
2016-01-30 19:19:37 +00:00
2019-05-11 15:32:24 +00:00
An Apple IIgs emulator based on KEGS
2017-01-22 04:39:38 +00:00
2019-03-02 19:57:15 +00:00
# Build instructions
2016-01-30 19:19:37 +00:00
2019-03-02 19:57:15 +00:00
## OS X dependencies
brew install cmake pkg-config re2c sdl2 sdl2_image freetype
2016-01-30 19:19:37 +00:00
2019-03-02 19:57:15 +00:00
## Linux dependencies
apt-get install re2c libsdl2-dev libsdl2-image-dev libfreetype6-dev libpcap0.8-dev
2016-01-30 19:53:53 +00:00
2019-03-02 19:57:15 +00:00
## WIN32 dependencies
Install MSYS2 (not MSYS, not cygwin)
2016-01-30 19:19:37 +00:00
2019-03-02 19:57:15 +00:00
32-bit build:
pacman -S re2c mingw-w64-i686-cmake mingw-w64-i686-SDL2 mingw-w64-i686-SDL2_image mingw-w64-i686-freetype
64-bit build:
pacman -S re2c mingw-w64-x86_64-cmake mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-freetype
## Linux, OS X, build
mkdir build
cd build
cmake ..
(optionally: ccmake .. to configure stuff)
make
## Windows Build
### mingw SDL build
mkdir build
cd build
cmake ../ -DDRIVER=SDL2 -DWITH_DEBUGGER=OFF -G "MSYS Makefiles"
make GSplus.exe
### mingw GDI build
mkdir build
cd build
cmake ../ -DDRIVER=WIN32 -DWITH_DEBUGGER=OFF -G "MSYS Makefiles"
make GSplus.exe