Cardio just aids calorie deficit and helps to build stamina, diet and weights are key to muscle building. I'm doing weights as well as cardio as I'm just trying to lower my fat at a fast bit steady pace.
Like tshirt says though, if you're building muscle which I assume you are wanting, excessive cardio isn't the way to go. By all means use it to aid but don't make it a primary workout.