Added a Cmake build system configuration

I added a cmake configuration file, allowing it to be rolled into other cmake built projects.