Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Build instructions

scemino edited this page Feb 22, 2021 · 5 revisions

On Windows

You'll need first to install vcpkg and then install the dependencies. Don't be afraid, it's normal it will take a long long time.

git clone https://github.com/Microsoft/vcpkg.git
cd vcpkg
./bootstrap-vcpkg.sh
./vcpkg integrate install
vcpkg install freetype:x64-windows glew:x64-windows sdl2:x64-windows sdl2-mixer:x64-windows glm:x64-windows

Clones the repo:

git clone --recurse-submodules https://github.com/scemino/engge.git

Then go in the repo and start to configure cmake:

cmake -E make_directory build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE="C:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DVCPKG_BIN_DIR="c:/vcpkg/installed/x64-windows/bin"

And build:

cmake --build . --config Release

On Linux

Install the dependencies:

sudo apt-get update
sudo apt-get install -y \
build-essential       \
gcc-10                \
g++-10                \
libglew-dev           \
libsdl2-dev           \
libsdl2-mixer-dev     \
libglm-dev

Clones the repo:

git clone --recurse-submodules https://github.com/scemino/engge.git

Then go in the repo and start to configure cmake:

cmake -E make_directory build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release

And build:

cmake --build . --config Release

On macOS

Install the dependencies:

brew install glew sdl2 sdl2_mixer glm

Clones the repo:

git clone --recurse-submodules https://github.com/scemino/engge.git

Then go in the repo and start to configure cmake:

cmake -E make_directory build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release

And build:

cmake --build . --config Release
Clone this wiki locally