Changes between Version 105 and Version 106 of BuildInstructions


Ignore:
Timestamp:
2010-10-25 14:09:45 (3 years ago)
Author:
hennr
Comment:

changed svn path from trunk to 0ad, added a script to update and compile 0ad trunk version

Legend:

Unmodified
Added
Removed
Modified
  • BuildInstructions

    v105 v106  
    101101 * Download and compile the code with: 
    102102 {{{ 
    103 svn co http://svn.wildfiregames.com/public/ps/trunk/ 
    104 cd trunk/build/workspaces 
     103svn co http://svn.wildfiregames.com/public/ps/trunk/ 0ad 
     104cd 0ad/build/workspaces 
    105105./update-workspaces.sh 
    106106cd gcc 
     
    120120 * If you have already compiled the game from SVN and want to update to the latest version: 
    121121 {{{ 
    122 cd trunk 
     122cd 0ad 
    123123svn up 
    124124cd build/workspaces 
     
    128128make CONFIG=Release -j3 
    129129}}} 
     130 
     131 * You may don't want to type all these commands every time you test the new trunk version. 
     132 
     133 
     134 Simply save the following lines in a script (e.g. <yourName>.sh), place it in the 0ad source folder and make it executable. 
     135 
     136 {{{ 
     137#!/bin/sh 
     138 
     139srcHome=`pwd` 
     140 
     141svn up 
     142 
     143cd build/workspaces 
     144./update-workspaces.sh 
     145cd gcc 
     146make CONFIG=Release clean 
     147make CONFIG=Release -j4 
     148cd $srcHome/binaries/system/ 
     149./test 
     150}}} 
     151 
    130152 
    131153=== OS X ===