-
Notifications
You must be signed in to change notification settings - Fork 81
/
setup.sh
executable file
·52 lines (42 loc) · 1.18 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Command file to set QuickFAST environment
# QuickFAST depends on MPC V 3.6 or later. (http://www.ociweb.com/products/mpc)
# QuickFAST depends on BOOST V 1.36.0 or later. (http://www.boost.org/)
# QuickFAST depends on Xerces V3.0 or later. (http://xerces.apache.org/xerces-c/)
# Customize this file by setting variables to suit your environment
SOURCE="${BASH_SOURCE[0]}"
SOURCE_DIR=`dirname $SOURCE`
export QUICKFAST_ROOT=`readlink -f $SOURCE_DIR`
if test "$MPC_ROOT" = ""
then
export MPC_ROOT=$ACE_ROOT/MPC
fi
if test "$BOOST_ROOT" = ""
then
export BOOST_ROOT=~/boost/boost_1_38_0
fi
if test "$BOOST_ROOT_LIB" = ""
then
export BOOST_ROOT_LIB=$BOOST_ROOT/lib
fi
if test "$BOOST_VERSION" = ""
then
export BOOST_VERSION=boost-1_38
fi
if test "$XERCES_ROOT" = ""
then
export XERCES_ROOT=~/xerces/xerces-c-3.0.1
fi
if test "$XERCES_LIBPATH" = ""
then
export XERCES_LIBPATH=$XERCES_ROOT/src/.libs
fi
if test "$XERCES_LIBNAME" = ""
then
export XERCES_LIBNAME=xerces-c-3.0
fi
if test "$XERCES_INCLUDE" = ""
then
export XERCES_INCLUDE=$XERCES_ROOT/src
fi
export PATH=$QUICKFAST_ROOT/bin:$MPC_ROOT:$PATH
export LD_LIBRARY_PATH=$XERCESLIB:$QUICKFAST_ROOT/lib:$BOOST_ROOT_LIB:$LD_LIBRARY_PATH