Doomsday 2 is built with CMake 3.1 (or later).
There are a couple of ways to get the source code:
The following libraries are required for compilation:
The following are optional:
You must create a separate directory that is used for the build files. In-tree builds are not supported.
After the dependencies are available, run CMake and configure the appropriate build variables.
CMAKE_BUILD_TYPEto “Release”. Note that with gcc/clang, omitting this variable will result in an unoptimized build.
PREFIXvariable to define the installation root path.
QMAKEvariable to the path of the qmake tool to use (unless autodetected). This determines which version of Qt will be used in the build.
DENG_ENABLE_*are used for enabling and disabling Doomsday features.
FMOD_DIR) are used for configuring locations of third-party libraries.
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.