mirror of
https://github.com/digarok/gsplus.git
synced 2024-09-28 07:55:53 +00:00
9df65dfd85
Needs cmake and pkg-config to build on macos (still possible without pkg-config by using ccmake and editing flags/libraries manually, which is a pain.)
1003 B
1003 B
GS+
An Apple IIgs emulator based on KEGS
Build instructions
OS X dependencies
brew install cmake pkg-config re2c sdl2 sdl2_image freetype
Linux dependencies
apt-get install re2c libsdl2-dev libsdl2-image-dev libfreetype6-dev libpcap0.8-dev
WIN32 dependencies
Install MSYS2 (not MSYS, not cygwin)
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