vnpy/vn.tutorial/tick2trade/vn.ctp_t2t/build.sh
chenxy123 8576b91c43 1. 修改vn.how目录名为vn.tutorial
2. 修改readme.md
2017-04-07 23:13:09 +08:00

18 lines
417 B
Bash

#!/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
cp ../vnctpmd/test/vnctpmd.* ../../vn.trader/ctpGateway/
cp ../vnctptd/test/vnctptd.* ../../vn.trader/ctpGateway/
popd