Add CMake build system
Merge pull request #6 from certik/cmake2

Add CMake build system