Add cmake

Hey Jason,

I add cmake files to it. Building makefile and Xcode project are tested.

Cheers,
Hugo