Update cmake to build various samples

This adds support for the various samples that were previously ignored by the cmake build process