add cmake support
Merge branch 'master' of https://github.com/suyuxin/snt