ongoing dev on moving to cmake