Edited wiki page BuildingOnLinux through web user interface. Sobbing a bit
authorsheepyluva@gmail.com
Sun, 02 Sep 2012 17:43:14 +0000
changeset 249 f47761d3bbe5
parent 248 96d8ee67f2bc
child 250 9c711f1b4638
Edited wiki page BuildingOnLinux through web user interface. Sobbing a bit
BuildingOnLinux.wiki
--- a/BuildingOnLinux.wiki	Thu Aug 30 03:01:11 2012 +0000
+++ b/BuildingOnLinux.wiki	Sun Sep 02 17:43:14 2012 +0000
@@ -1,9 +1,9 @@
-#summary Instructions for building Hedgewars on Linux (debian focus)
+#summary Instructions for building the development version of Hedgewars on Linux (debian focus)
 #labels Phase-Implementation,Phase-Deploy,Phase-Support
 
 = Introduction =
 
-Copy and Paste instructions for a Hedgewars build. Should work on Debian and the like (Ubuntu, Mint).  Packages for other distros should have similar names.  Remember to copy the *entire* apt-get lines!
+Copy and Paste instructions for a Hedgewars development build. Should work on Debian and the like (Ubuntu, Mint).  Packages for other distros should have similar names.  Remember to copy the *entire* apt-get lines!
 
 = Prerequisites =
 
@@ -26,17 +26,16 @@
 = Building process =
 
 {{{
-mkdir ~/games
-mkdir -p ~/hg/hedgewars
+mkdir -p ~/games ~/hg/hedgewars/build
 cd ~/hg/hedgewars
 hg clone https://hedgewars.googlecode.com/hg/ trunk
 }}}
 
-The initial clone of the repository will take a while, is about 550MiB or so...
+The initial clone of the repository will take a while, is about 600MiB or so...
 
 {{{
-cd ~/hg/hedgewars/trunk
-cmake -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
+cd ~/hg/hedgewars/build
+cmake ../trunk -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
 make install
 }}}
 if you want to build the server as well, change -DNOSERVER=1 to -DNOSERVER=0
@@ -52,8 +51,8 @@
 == Build Updates ===
 
 {{{
-cd ~/hg/hedgewars/trunk
-hg pull -u
-cmake -DCMAKE_CXX_FLAGS="-g" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DWITH_SERVER=0
+cd ~/hg/hedgewars/build
+hg -R ../trunk pull -u
+cmake ../trunk -DCMAKE_BUILD_TYPE="DEBUG" -DCMAKE_INSTALL_PREFIX="$HOME/games" -DDATA_INSTALL_DIR="$HOME/games" -DNOSERVER=1
 make install
 }}}
\ No newline at end of file