WhisperCom/loguru_bench/build_and_run.sh
Dominik Meyer f637c3cee6 Squashed 'libs/loguru/' content from commit 9c2fea0d
git-subtree-dir: libs/loguru
git-subtree-split: 9c2fea0d4530657f23259be4132f8101c98b579e
2021-08-19 17:03:04 +02:00

13 lines
178 B
Bash
Executable File

#!/bin/bash
set -e # Fail on error
ROOT_DIR=$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)
cd "$ROOT_DIR"
mkdir -p build
cd build
cmake ..
make
./loguru_bench $@ 2>/dev/null