User Tools

Site Tools


devel:compiling_and_running

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
devel:compiling_and_running [2017-11-07 08:39]
skyjake [Build and deploy]
devel:compiling_and_running [2018-12-12 18:47]
skyjake
Line 1: Line 1:
-====== Compiling and running with CMake ======+====== Compiling and running ​Doomsday 2.0 and 2.1 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 33: Line 33:
 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.
  
-  * Normally you will want to set the ''​CMAKE_BUILD_TYPE''​ to "​Release"​. Note that on 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 ''​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.
devel/compiling_and_running.txt ยท Last modified: 2018-12-15 22:15 by skyjake