add initial cmake script
add helpful error message if gtest isn't set up