#!/bin/bash REPODIR=$(realpath $(dirname "$0")/..) BUILDIR="$REPODIR"/build mkdir -p "$BUILDIR" cmake -B "$BUILDIR" make -j$(nproc) -C "$BUILDIR"