#! /bin/bash
set -e

if [[ ! -d "build/" ]]
then
	mkdir build
fi

pushd build
cmake ..
make
popd

pushd demo
gdb ../build/demo/FgglDemo
popd
