add CMake build configuration
Merge pull request #1 from hobu/cmakeify

add CMake build configuration