adding cmake files delete function