Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TheEngine

Note

You do not need to read this section if you do not intend to build TheEngine from source.

Both Linux and Windows binaries for TheEngine are available on the repo.

However, if you really want to build it from source, instructions are provided below.

Requirements

  • CMake (>=3.10)
  • Ninja (>=1.10)
  • A C++ compiler (Clang, MSVC, g++)

Cloning the repo

# Clone the repo
git clone https://thorn.veritius.dev/engine/TheEngine

# Get the submodules
git submodule update --init --recursive

Windows

Warning

When building on the school PCs, only .wav files will play as SDLMixer’s vendor script will not run.

After opening up x64 Native Tools Command Prompt For VS2022:

# Navigate to the root folder and then
cmake --preset release
cmake --build --preset release

The resultant binary will be in the App folder.

Linux

# Navigate to the root folder and then
cmake --preset release
cmake --build --preset release

The resultant binary will be in the App folder.