move to cmake