Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Latest commit

 

History

History
49 lines (34 loc) · 1.16 KB

ReadMe.org

File metadata and controls

49 lines (34 loc) · 1.16 KB

Base2.0

A simple game library and abstraction layer. It uses SFML to provide most functionality, then groups it together with other tools.

Setup

Clone repository

Clone and init submodules for dependencies:

git clone --recurse-submodules https://github.com/makuto/base2.0

If you didn’t do submodules, run this:

git submodule update --init --recursive

Set up build system

Jam is used to build the project. Install Jam:

sudo apt install jam

Build dependencies

Currently, SFML relies on system installs for its dependencies:

sudo apt install libopenal-dev libvorbis-dev libflac-dev libglew

Build the rest of the dependencies from source:

./BuildDependencies_Release.sh

Use the *_Debug.sh scripts if you want debug symbols. Note that you need to use Debug/Release scripts in every case, otherwise the libraries will fail to link.

Build example project

The example project is a good starting point for a new project. Build it like so:

cd example
./Build_Release.sh

Run ./exampleBase to see the project.