Basic CMake system
Merge pull request #14 from cgjones/cmake

Basic CMake system (depends on #15)