move project to cmake script.