This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
devel:compiling_and_running_2.0 [2020-12-22 14:35] skyjake ↷ Page name changed from devel:compiling_and_running to devel:compiling_and_running_2.0 |
devel:compiling_and_running_2.0 [2021-09-01 08:37] skyjake |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Compiling and running Doomsday 2.0–2.2 with CMake ====== | + | ====== Compiling and running Doomsday 2.0–2.3 with CMake ====== |
Doomsday 2 is built with [[https://cmake.org|CMake]] 3.1 (or later). | Doomsday 2 is built with [[https://cmake.org|CMake]] 3.1 (or later). | ||
Line 31: | Line 31: | ||
===== Build and deploy ===== | ===== Build and deploy ===== | ||
- | After the dependencies are available, run CMake and configure the appropriate build variables. | + | After the dependencies are available, run CMake and configure the appropriate build variables. The following variables are noteworthy: |
* Normally you will want to set the ''CMAKE_BUILD_TYPE'' to "Release". Note that with gcc/clang, omitting this variable will result in an unoptimized build. | * Normally you will want to set the ''CMAKE_BUILD_TYPE'' to "Release". Note that with gcc/clang, omitting this variable will result in an unoptimized build. | ||
- | * Set the ''PREFIX'' variable to define the installation root path. | + | * Set the ''DE_PREFIX'' variable to define the installation root path. |
* Set the ''QMAKE'' variable to the path of the qmake tool to use (unless autodetected). This determines which version of Qt will be used in the build. | * Set the ''QMAKE'' variable 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. | * ''DENG_ENABLE_*'' are used for enabling and disabling Doomsday features. |