BuildingOnLinux.wiki
changeset 241 db33e09cb9cd
parent 169 4f70e400b743
child 247 1b87576183da
equal deleted inserted replaced
240:85ea0e6d423d 241:db33e09cb9cd
    27 
    27 
    28 The initial clone of the repository will take a while, is about 550MiB or so...
    28 The initial clone of the repository will take a while, is about 550MiB or so...
    29 
    29 
    30 {{{
    30 {{{
    31 cd ~/hg/hedgewars/trunk
    31 cd ~/hg/hedgewars/trunk
    32 cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DWITH_SERVER=0
    32 cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
    33 make install
    33 make install
    34 }}}
    34 }}}
    35 if you want to build the server as well, change -DWITH_SERVER=0 to -DWITH_SERVER=1
    35 if you want to build the server as well, change -DNOSERVER=1 to -DNOSERVER=0
    36 
    36 
    37 then wait for the build to complete, then run ...
    37 then wait for the build to complete, then run ...
    38 
    38 
    39 {{{
    39 {{{
    40 ~/games/bin/hedgewars
    40 ~/games/bin/hedgewars