Merge branch 'release/2.6.0'

This commit is contained in:
ThorstenB
2012-03-01 22:51:57 +01:00
4 changed files with 38 additions and 10 deletions

3
.gitignore vendored
View File

@@ -5,3 +5,6 @@ install
boost_1_44_0
InstallConfig.iss
Output
output
fgBuild
sgBuild

View File

@@ -1,9 +1,26 @@
#!/bin/sh
cd simgear
./autogen.sh
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
if [ "$WORKSPACE" == "" ]; then
echo "ERROR: Missing WORKSPACE environment variable."
exit 1
fi
#####################################################################################
# remove old and create fresh build directories
rm -rf sgBuild
rm -rf fgBuild
mkdir -p sgBuild
mkdir -p fgBuild
mkdir -p output
rm -rf output/*
rm -rf $WORKSPACE/dist/include/simgear $WORKSPACE/dist/libSim* $WORKSPACE/dist/libsg*.a
#####################################################################################
echo "Starting on SimGear"
cd sgBuild
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../simgear
# compile
make
if [ $? -ne '0' ]; then
@@ -12,13 +29,17 @@ if [ $? -ne '0' ]; then
fi
make install
make dist
# build source package and copy to output
make package_source
cp simgear-*.tar.bz2 ../output/.
#####################################################################################
echo "Starting on FlightGear"
cd ../fgBuild
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../flightgear
cd ../flightgear
./autogen.sh
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
# compile
make
if [ $? -ne '0' ]; then
@@ -27,4 +48,8 @@ if [ $? -ne '0' ]; then
fi
make install
make dist
# build source package and copy to output
make package_source
cp flightgear-*.tar.bz2 ../output/.

Submodule simgear updated: e55017bbfc...cfda390557