converted to cmake project.