The Dæmon game engine. With some bits of ioq3 and XreaL.
The standalone engine that powers the multiplayer first person shooter Unvanquished.
To fetch and build Dæmon, you'll need:
cmake, and a C++11 compiler.
The following are actively supported:
clang≥ 3.5, Visual Studio/MSVC (at least Visual Studio 2017).
MSYS2 is an easy way to get MingW compiler and build dependencies, the standalone MingW on Windows also works.
Daemon requires several sub-repositories to be fetched before compilation. If you have not yet cloned this repository:
git clone --recurse-submodules https://github.com/DaemonEngine/Daemon.git
If you have already cloned:
cd Daemon/ git submodule update --init --recursive
If cmake complains about missing files in
recastnavigation/folder or similar issue then you have skipped this step.
-j4you can use
Nis your number of CPU cores to distribute compilation on them. Linux systems usually provide an handy
nproctool that tells the number of CPU core so you can just do
-j$(nproc)to use all available cores.
Enter the directory before anything else:
Produced files will be stored in a new directory named
cmake -H. -Bbuild cmake --build build -- -j4
For a 32-bit build use the
cross-toolchain-mingw32.cmaketoolchain file instead.
cmake -H. -Bbuild -DCMAKE_TOOLCHAIN_FILE=cmake/cross-toolchain-mingw64.cmake cmake --build build -- -j4