mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
17 lines
333 B
Bash
Executable File
17 lines
333 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -eu
|
|
|
|
TEMPDIR=$(mktemp -d)
|
|
(
|
|
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
|
|
)
|
|
rm -rf "$TEMPDIR"
|