2016-07-02 03:12:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Written by Suzhengchun on 20160213
|
|
|
|
|
|
|
|
set -e
|
|
|
|
BUILDDIR=build
|
|
|
|
rm -rf $BUILDDIR
|
|
|
|
if [ ! -f $BUILDDIR ]; then
|
|
|
|
mkdir -p $BUILDDIR
|
|
|
|
fi
|
|
|
|
pushd $BUILDDIR
|
|
|
|
cmake ..
|
|
|
|
make VERBOSE=1 -j 1
|
|
|
|
ln -fs `pwd`/lib/vnctpmd.so ../vnctpmd/test/vnctpmd.so
|
|
|
|
ln -fs `pwd`/lib/vnctptd.so ../vnctptd/test/vnctptd.so
|
2017-04-27 02:51:45 +00:00
|
|
|
cp ../vnctpmd/test/vnctpmd.* ../../../vn.trader/gateway/ctpGateway/
|
|
|
|
cp ../vnctptd/test/vnctptd.* ../../../vn.trader/gateway/ctpGateway/
|
2016-07-02 03:12:44 +00:00
|
|
|
popd
|