if you want to put on weight in muscle though, don't do as much cardio. theres a reason why cross country runners have no muscle on them and olympic sprinters are RIPPED.
if you've got fat to burn, do cardio and lift.
if you're skinny and wanna bulk up, or if you're already fit and want to get bigger, do 10 minutes cardio before your workout to warm up, but other than that keep it to short bursts of energy like sprints and suicides. the best option would be to pick up a sport. and on top of that, lift like crazy.