How do auto-generate a 2nd UV for lightmaps?

It is Generate Lightmap UV’s, so it creates a proper UV layout for light baking, it doesnt generate the lighting itself. Lighting wise what you see in the viewport before you build lighting is for previewing.