代码拉取完成,页面将自动刷新
#/bin/bash
WORK_DIR=$(cd $(dirname $0); pwd)
INSTALL_PATH=${WORK_DIR}/bin/linux
buildFunc(){
echo "---------------"
echo "Start building $1 ..."
cd ${WORK_DIR}/LocalCTP/ctp_file
rm -fr ./current
cp -fr $1 ./current
cd ${WORK_DIR}/GenScript
python3 ParseCTPHeaders.py
cd ${WORK_DIR}/LocalCTP
make clean && make
mv ${INSTALL_PATH}/libthosttraderapi_se.so ${INSTALL_PATH}/libthosttraderapi_se_v$1.so
}
buildDemoFunc(){
echo "---------------"
echo "Start building DEMO ..."
cd ${WORK_DIR}/TestLocalCTP
make clean && make
}
# v6.3.19
buildFunc 6.3.19
# v6.6.9
buildFunc 6.6.9
# v6.7.0
buildFunc 6.7.0
# v6.5.1, put it at last, because we want the code to be set as v6.5.1 finally
buildFunc 6.5.1
mv ${INSTALL_PATH}/libthosttraderapi_se_v6.5.1.so ${INSTALL_PATH}/libthosttraderapi_se.so
buildDemoFunc
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。