Initial cmake port
Merge pull request #3 from xantares/cmake

Initial cmake port