aboutsummaryrefslogtreecommitdiff
path: root/test/criterion.sh
blob: c5c1f045f03b342e04e0cb8fb84ba0fcaee6b5b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

if [ ! -f "lib/criterion/CMakeLists.txt" ]; then
	echo "lib/criterion is missing. It is a git submodule from https://github.com/Snaipe/Criterion at a64b860.";
	exit 1;
fi

cd lib/criterion
mkdir -p build
cd build
cmake ..  >/dev/null
cmake --build . >/dev/null