First, download and install cmake. http://www.cmake.org/
Run the following commands:
$ cd build
$ cmake ../
This will generate a build system appropriate for your environment in the
build
directory. Built binaries will be located in build/bin
.
- Build the game.
- If on Windows, copy all dlls from
lib
to the same directory as thespifi_game
executable. - Copy images into the same directory as the executable, or if using Visual Studios copy the images into the project directory.
- Run the
spifi_game
executable inbuild/bin
.
- libsdl1.2
- libsdl1.2-dev
- libsdl-ttf2.0
- libsdl-ttf2.0-dev
- libsdl-image1.2
- libsdl-image1.2-dev
- libsdl-mixer1.2
- libsdl-mixer1.2-dev
- cmake
- make
- gcc
- mkdir build
- cd build
- cmake ..
- make
- ./spifi
- /src - cpp source files
- /resources - images, audio files, etc