- if [ "$#" -lt 1 ]; then
- echo "没有输入"
- echo "$1"
- exit
- fi
- BOOSTLIB='/home/yuchuli/tem/boost_1_69_0/stage/lib' #BOOST LIB路径
- BOOSTINC='/home/yuchuli/tem/boost_1_69_0' #BOOST INCLUDE 路径
- sed -i "s:INCPATH =:INCPATH =-I${BOOSTINC} :g" $1
- sed -i "s:LIBS = :LIBS = -L${BOOSTLIB} :g" $1
|