Skip to content

Instantly share code, notes, and snippets.

@roman-yagodin
Last active August 29, 2015 14:02
Show Gist options
  • Save roman-yagodin/2f31949b62b8b2d5a5bb to your computer and use it in GitHub Desktop.
Save roman-yagodin/2f31949b62b8b2d5a5bb to your computer and use it in GitHub Desktop.
Building CS with default gcc, plus quoted paths
#!/bin/bash
cd $(dirname $0)
source ps-params.sh
# clean
cd "$PS_BUILD/cs"
jam clean
# update
if [ "$1" = "-u" ]
then
svn update -r $CS_REVISION
fi
# point to Cal3D and Bullet
export LD_LIBRARY_PATH="$PS_BUILD/cal3d/src/cal3d/.libs/:$PS_BUILD/bullet/lib/:$LD_LIBRARY_PATH"
# build
cd "$PS_BUILD/cs"
./configure --without-java --without-perl --without-python --without-3ds --with-cal3d="$PS_BUILD/cal3d" --with-bullet="$PS_BUILD/bullet"
jam -j3 -aq libs plugins cs-config # walktest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment