Skip to content

Commit 5ef268c

Browse files
committed
/utility/install-oatpp-modules.sh script for binance client example
1 parent 0ae4754 commit 5ef268c

File tree

1 file changed

+60
-0
lines changed

1 file changed

+60
-0
lines changed
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
#!/bin/sh
2+
3+
rm -rf tmp
4+
5+
mkdir tmp
6+
cd tmp
7+
8+
##########################################################
9+
## install oatpp
10+
11+
MODULE_NAME="oatpp"
12+
13+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
14+
15+
cd $MODULE_NAME
16+
mkdir build
17+
cd build
18+
19+
cmake ..
20+
make install
21+
22+
cd ../../
23+
24+
##########################################################
25+
## install oatpp-websocket
26+
27+
MODULE_NAME="oatpp-websocket"
28+
29+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
30+
31+
cd $MODULE_NAME
32+
mkdir build
33+
cd build
34+
35+
cmake ..
36+
make install
37+
38+
cd ../../
39+
40+
##########################################################
41+
## install oatpp-mbedtls
42+
43+
MODULE_NAME="oatpp-mbedtls"
44+
45+
git clone --depth=1 https://github.com/oatpp/$MODULE_NAME
46+
47+
cd $MODULE_NAME
48+
mkdir build
49+
cd build
50+
51+
cmake ..
52+
make install
53+
54+
cd ../../
55+
56+
##########################################################
57+
58+
cd ../
59+
60+
rm -rf tmp

0 commit comments

Comments
 (0)