Table of Contents

Compiling and running Doomsday 2.0–2.3 with CMake

Doomsday 2 is built with CMake 3.1 (or later).

Get the source

There are a couple of ways to get the source code:

Install dependencies

The following libraries are required for compilation:

The following are optional:

Create build directory

You must create a separate directory that is used for the build files. In-tree builds are not supported.

Build and deploy

After the dependencies are available, run CMake and configure the appropriate build variables. The following variables are noteworthy:

When CMake has configured the build successfully, run your chosen build tool.

After building, you must still deploy the binaries (e.g., using make install) because Doomsday expects a particular runtime directory layout.