Merge branch 'release/2.6.0'
This commit is contained in:
@@ -5,3 +5,6 @@ install
|
|||||||
boost_1_44_0
|
boost_1_44_0
|
||||||
InstallConfig.iss
|
InstallConfig.iss
|
||||||
Output
|
Output
|
||||||
|
output
|
||||||
|
fgBuild
|
||||||
|
sgBuild
|
||||||
|
|||||||
+1
-1
Submodule flightgear updated: 118d8fbca5...7e2aaf061e
+33
-8
@@ -1,9 +1,26 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd simgear
|
if [ "$WORKSPACE" == "" ]; then
|
||||||
./autogen.sh
|
echo "ERROR: Missing WORKSPACE environment variable."
|
||||||
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
|
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
|
make
|
||||||
|
|
||||||
if [ $? -ne '0' ]; then
|
if [ $? -ne '0' ]; then
|
||||||
@@ -12,13 +29,17 @@ if [ $? -ne '0' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
make dist
|
|
||||||
|
|
||||||
|
# build source package and copy to output
|
||||||
|
make package_source
|
||||||
|
cp simgear-*.tar.bz2 ../output/.
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
echo "Starting on FlightGear"
|
echo "Starting on FlightGear"
|
||||||
|
cd ../fgBuild
|
||||||
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../flightgear
|
||||||
|
|
||||||
cd ../flightgear
|
# compile
|
||||||
./autogen.sh
|
|
||||||
./configure --prefix=$WORKSPACE/dist --with-osg=$WORKSPACE/dist
|
|
||||||
make
|
make
|
||||||
|
|
||||||
if [ $? -ne '0' ]; then
|
if [ $? -ne '0' ]; then
|
||||||
@@ -27,4 +48,8 @@ if [ $? -ne '0' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
make dist
|
|
||||||
|
# build source package and copy to output
|
||||||
|
make package_source
|
||||||
|
cp flightgear-*.tar.bz2 ../output/.
|
||||||
|
|
||||||
|
|||||||
+1
-1
Submodule simgear updated: e55017bbfc...cfda390557
Reference in New Issue
Block a user