cmake

This compiles on linux and maybe it also compiles on windows.

Usage:
mkdir build
cd build
cmake ..
make
make test