Add tags generation to cmake