aboutsummaryrefslogtreecommitdiff
path: root/cmake/install.sh
blob: 384ad5d311d89c4509720da3eb80d30ef8aa835c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

set -e

scriptpath="$(dirname "$0")"
mkdir -p "$scriptpath/build/release"
cd "$scriptpath/build/release"
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release ../../../
ninja
sudo cp sibs /usr/bin/
echo "Copied $scriptpath/build/release/sibs to /usr/bin/sibs"
echo "Installation successful!"