-
Notifications
You must be signed in to change notification settings - Fork 47
/
Copy pathbuild-sln-all.sh
72 lines (53 loc) · 2.74 KB
/
build-sln-all.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
set -x
set -u
set -e
st=$(echo "`date +%s.%N`" | bc)
. setting.sh
sed -i "s/SOLUTION_ROOT_DIR=.*/SOLUTION_ROOT_DIR=${SOLUTION_ROOT_DIR//\//\\/}/g" \
$(find . -type f | grep 'build-proj.sh')
mkdir -p inc/cxx/
bash rsync-inc-of-stgeng.sh
cd pub && bash build-proj.sh all && cd -
cd bqipc && bash build-proj.sh all && cd -
cd bqweb && bash build-proj.sh all && cd -
cd bqpub && bash build-proj.sh all && cd -
cd bqmd/bqmd-pub && bash build-proj.sh all && cd -
# cd bqmd/bqmd-svc-base && bash build-proj.sh all && cd -
# cd bqmd/bqmd-binance && bash build-proj.sh all && cd -
# cd bqmd/bqmd-sim && bash build-proj.sh all && cd -
cd bqordmgr && bash build-proj.sh all && cd -
cd bqassetsmgr && bash build-proj.sh all && cd -
cd bqposmgr && bash build-proj.sh all && cd -
cd bqriskctrl && bash build-proj.sh all && cd -
cd bqriskmgr && bash build-proj.sh all && cd -
cd bqalgo && bash build-proj.sh all && cd -
cd bqstg/bqstgengimpl && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-cxx && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-cxx && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-cxx && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-cxx-demo && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-cxx-demo-cn && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-py && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-py-demo && bash build-proj.sh all && cd -
cd bqstg/bqstg-manual && bash build-proj.sh all && cd -
cd bqtd/bqtd-pub && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin-flow-ctrl/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin-pnl-monitor/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin-flow-ctrl-plus/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin-close-tday-stg/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin-self-trade-ctrl/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv-risk-plugin-trd-symbol-list/ && bash build-proj.sh all && cd -
cd bqtd/bqtd-srv && bash build-proj.sh all && cd -
cd bqtd/bqtd-svc-base && bash build-proj.sh all && cd -
cd bqtd/bqtd-binance && bash build-proj.sh all && cd -
cd bqweb-srv && bash build-proj.sh all && cd -
cd bqmd/bqmd-svc-base-cn && bash build-proj.sh all && cd -
cd bqmd/bqmd-xtp && bash build-proj.sh all && cd -
cd bqmd/bqmd-ctp && bash build-proj.sh all && cd -
cd bqtd/bqtd-svc-base-cn && bash build-proj.sh all && cd -
cd bqtd/bqtd-xtp && bash build-proj.sh all && cd -
cd bqtd/bqtd-ctp && bash build-proj.sh all && cd -
et=$(echo "`date +%s.%N`" | bc)
diff=$(echo "$et-$st" | bc)
echo $(date "+%Y-%m-%d %H:%M:%S") "End execution command $0, time-consuming: $diff" >> time-consuming.log