Adding cmake file. Fixes for msvc support. Currently 36 out of 43 demos can build with msvc.
Missing files in last commit.