solidity/scripts/install_obsolete_jsoncpp_1_7_4.sh

17 lines
333 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -eu
TEMPDIR=$(mktemp -d)
(
2020-12-11 17:19:53 +00:00
cd "$TEMPDIR"
wget https://github.com/open-source-parsers/jsoncpp/archive/1.7.4.tar.gz
tar xvzf "1.7.4.tar.gz"
cd "jsoncpp-1.7.4"
mkdir -p build
cd build
cmake -DARCHIVE_INSTALL_DIR=. -G "Unix Makefiles" ..
make
make install
)
2020-12-11 17:19:53 +00:00
rm -rf "$TEMPDIR"