Adding cmake file. Fixes for msvc support. Currently 36 out of 43 demos can build with msvc.
Missing files in last commit.
Merge pull request #6 from Samana/master

Adding cmake file. Adding msvc support. Currently 36 out of 43 projects can build with visual studio 2012.