WhisperCom/libs/loguru/loguru_bench/build_and_run.sh

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