- boost_1.76.0
- glog_0.5.0
- gtest_1.11.0
- protobuf_3.17.3
- cppzmq
- libzmq_4.3.4
- cppzmq_4.7.1
- rapidjson_1.1.0
- sqlite3_3.35.5
Usage: bash mkt.sh [-h] [-i prefix] [-p proxy] [-t all | boost | glog | gtest | protobuf | cppzmq | rapidjson | sqlite3 ]
Compile C++ third-party libaries
-i cmake install prefix; if prefix is unspecified, assume ./thirdparty
-t third-party library
-p http/https proxy
-v version of librariesexample:
# compile glog:
bash mkt.sh -t glog
# set cmake install prefix path
bash mkt.sh -t glog -i ~/test
# set http/https proxy
bash mkt.sh -t glog -p "http_porxy=yourproxy.com:port"
bash mkt.sh -t glog -p "https_porxy=yourproxy.com:port"# view version of libraries
bash mkt.sh -vclean the directory:
ls | grep -v mkt.sh | grep -v README.md | xargs rm -r