set -e
set -x
export CXXFLAGS="-ggdb -O0 -Wall"
rm -fr build
mkdir build
(cd build; cmake .. -DCMAKE_INSTALL_PREFIX=../run -DCMAKE_BUILD_TYPE=Debug)
