starting to port from make to cmake