Compiling

NOTICE: Clone the repository with -recursive, e.g git clone ... -recursive

Compiling on Linux

  1. Install tools.

Debian-based distros:

Essential stuff:

sudo apt install build-essential cmake zip unzip make libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libgl-dev

If you also want to compile for Windows:

sudo apt install g++-mingw-w64-x86-64 gcc-mingw-w64-x86-64 g++-mingw-w64-i686 gcc-mingw-w64-i686 

Arch-based distros:

Essential stuff:

TODO

If you also want to compile for Windows:

TODO

  1. Run compile.sh to compile for Linux, 64-bit Windows & 32-bit Windows. Run compile_linux.sh to compile for Linux only.

Compiling on Windows

  1. Install CMake, Ninja and MinGW. Try them out in the terminal: cmake -version, ninja --version, gcc -version, g++ -version. If some are missing, add them to PATH.

  2. From the terminal, run compile.ps1.

S
Description
No description provided
Readme 4.7 MiB
Languages
C++ 52.8%
C 37.8%
Makefile 6.2%
CMake 1.7%
GLSL 0.8%
Other 0.7%