further cmake automation