Build Egoboo from source: Instructions for OS X/CLANG

Install CMake and CLANG

Ensure CMake 3.10.1 and CLANG 4.0 or higher are installed. Ensure Homebrew is installed.

Install Dependencies

Install the following dependencies using Homebrew

  • sdl2
  • sdl2_image
  • sdl2_mixer
  • sdl2_ttf
  • physfs

Compile Egoboo

To compile Egoboo, open a console, change to the directory in which the source of the library is located in, and enter

cmake CMakeLists.txt
make all

To execute the unit tests, enter

make check