BuildingOnLinux.wiki
changeset 333 5b70b52c17c4
parent 332 36d99c763ca7
child 337 fcceaed03448
equal deleted inserted replaced
332:36d99c763ca7 333:5b70b52c17c4
    31 cd ~/hg/hedgewars
    31 cd ~/hg/hedgewars
    32 hg clone -v https://hedgewars.googlecode.com/hg/ trunk
    32 hg clone -v https://hedgewars.googlecode.com/hg/ trunk
    33 }}}
    33 }}}
    34 
    34 
    35 The initial clone of the repository will take a while, is about 575MiB or so...
    35 The initial clone of the repository will take a while, is about 575MiB or so...
       
    36 After that switch to the trunk folder:
    36 
    37 
    37 {{{
    38 {{{
    38 cd trunk
    39 cd trunk
       
    40 }}}
       
    41 
       
    42 If you want to build the latest release version (so that you can play with other people online) use this command:
       
    43 {{{
       
    44 hg update 0.9.19
       
    45 }}}
       
    46 
       
    47 Not let's configure and build!
       
    48 {{{
    39 cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
    49 cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
    40 make install
    50 make install
    41 }}}
    51 }}}
    42 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!
    52 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!
    43 
    53