Switch Linux release build to "SHARED_SIMGEAR".
This commit is contained in:
parent
accced5c0e
commit
cfde12ad6d
2 changed files with 13 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -5,3 +5,6 @@ install
|
||||||
boost_1_44_0
|
boost_1_44_0
|
||||||
InstallConfig.iss
|
InstallConfig.iss
|
||||||
Output
|
Output
|
||||||
|
output
|
||||||
|
fgBuild
|
||||||
|
sgBuild
|
||||||
|
|
|
@ -1,17 +1,23 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ "$WORKSPACE" == "" ]; then
|
||||||
|
echo "ERROR: Missing WORKSPACE environment variable."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
# remove old and create fresh build directories
|
# remove old and create fresh build directories
|
||||||
rm -rf sgBuild
|
rm -rf sgBuild
|
||||||
rm -rf fgBuild
|
rm -rf fgBuild
|
||||||
mkdir -p sgBuild
|
mkdir -p sgBuild
|
||||||
mkdir -p fgBuild
|
mkdir -p fgBuild
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
# clear output directory
|
|
||||||
rm -rf output/*
|
rm -rf output/*
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
echo "Starting on SimGear"
|
echo "Starting on SimGear"
|
||||||
cd sgBuild
|
cd sgBuild
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist ../simgear
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../simgear
|
||||||
|
|
||||||
# compile
|
# compile
|
||||||
make
|
make
|
||||||
|
@ -27,10 +33,10 @@ make install
|
||||||
make package_source
|
make package_source
|
||||||
cp simgear-*.tar.bz2 ../output/.
|
cp simgear-*.tar.bz2 ../output/.
|
||||||
|
|
||||||
|
#####################################################################################
|
||||||
echo "Starting on FlightGear"
|
echo "Starting on FlightGear"
|
||||||
|
|
||||||
cd ../fgBuild
|
cd ../fgBuild
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist ../flightgear
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist -DSIMGEAR_SHARED:BOOL="ON" ../flightgear
|
||||||
|
|
||||||
# compile
|
# compile
|
||||||
make
|
make
|
||||||
|
|
Loading…
Reference in a new issue