#!/bin/bash cd "$( dirname "$0" )" mkdir -p lib cd lib cmake .. make cd .. cd tests mkdir -p bin cd bin cmake .. make cd ../..