Deposition of compounds, mixtures or solid solutions