break out parts of the great big cmake file into separate files
more work on example build tree