GO:0048332: mesoderm morphogenesis
The process in which the anatomical structures of the mesoderm are generated and organized.