Measurements of Hadron Production at CMS