forked from byrnexu/betterquant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-sln-all.sh
50 lines (38 loc) · 1.87 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
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 bqriskmgr && 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-py && bash build-proj.sh all && cd -
cd bqstg/bqstgeng-py-demo && 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 && 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 -
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