initial success on cmake, want mike to test and finish it