add first version of cmake script