BuildingOnLinux.wiki
changeset 1998 32149ab9ebda
parent 1691 244c3e2ebc4c
child 2004 f9a05a594d8e
equal deleted inserted replaced
1997:b814252ed707 1998:32149ab9ebda
    76 
    76 
    77 Now let’s configure and build!
    77 Now let’s configure and build!
    78 
    78 
    79 If you want to install Hedgewars *just for your user account* run
    79 If you want to install Hedgewars *just for your user account* run
    80 {{{
    80 {{{
    81 cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
    81 cmake -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
    82 make install
    82 make install
    83 }}}
    83 }}}
    84 If you want to install Hedgewars *system-wide* (not recommended for development builds) then run
    84 If you want to install Hedgewars *system-wide* (not recommended for development builds) then run
    85 
    85 
    86 {{{
    86 {{{
    87 cmake -DCMAKE_BUILD_TYPE="RELEASE" -DNOSERVER=1
    87 cmake -DCMAKE_BUILD_TYPE="Release" -DNOSERVER=1
    88 sudo make install
    88 sudo make install
    89 }}}
    89 }}}
    90 
    90 
    91 *Important*: If you decided against png-screenshots or video-recording support, please append `-DNOPNG=1` and/or `-DNOVIDEOREC=1` to the cmake command line respectively!
    91 *Important*: If you decided against png-screenshots or video-recording support, please append `-DNOPNG=1` and/or `-DNOVIDEOREC=1` to the cmake command line respectively!
    92 
    92