Last active
August 29, 2015 14:02
-
-
Save roman-yagodin/2f31949b62b8b2d5a5bb to your computer and use it in GitHub Desktop.
Building CS with default gcc, plus quoted paths
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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