My guess is that we will perfect closed ecosystems for space craft and space stations or habitats on the Moon and asteroids before we terraform Mars enough for anything other than lichens to grow. Whatever greenhouse system fed them during the trip to Mars would continue to feed them on the surface (that's my guess, anyway).
I would also guess that any higher plants from Earth would need a lot of breeding or gene-engineering to endure Mars' natural temperatures (-70 °F average, 70 °F to −240 °F extremes), extreme dryness and near-vacuum (and what little air they have is almost oxygen-free).
Inside a greenhouse, at least Mars' daylength is close to Earth's: 24 hours, 39 minutes and 35 seconds. Need to heat it and pressurize it.
Light would be much dimmer than on Earth - like 42% as bright, give or take depending on latitude.
Considering that Mars' near-vacuum is mostly CO2, we could enrich the greenhouse's air with extra CO2.
The greenhouse would have to provide warmth, water, oxygen and soil. Maybe supplementary light.
Except for the gravity (38% of Earth's) , if the greenhouse mimicked Earth closely enough, it might be able to accommodate almost any Earth plants. (Since Lunar gravity is only 17% of earth, any plants adapted to Lunar gravity ought to consider Mars "heavy".)
The issue might come down to how "expensive" it was in terms of power and consumables hauled from Earth or asteroids to make a greenhouse THAT Earth-like.
We might start looking for (or designing) plants able to grow with LESS light, gravity, water, heat and air pressure. The easier it is to make the greenhouse "tolerable enough" for the plants, the larger it can be with limited resources, and the more people it could support with oxygen and food.
I guess I would start by looking at food crops that have adapted to very cold, arid mountain tops with huge daily temperature extremes (if there are any such crops). Then I would start breeding them and engineering their genes. Ideally, we would start that breeding project right now or sooner in order to be ready by the time space travel is 1,000 times cheaper.
But I wonder if we COULD seed Mars with lichens as part of a terraforming attempt (turn CO2 into oxygen and organic matter)? Assuming we were not concerned about destroying the current ecosystem and any life forms that might be lurking. And assuming that sources of water could be found. And that politicians didn't divert the funding to oil company subsidies.
One science fiction novel presumed some cheap form of space travel (hydrogen fusion powered mass drivers?) but then complained there was nowhere to GO TO (where you could live outside an insulated tin can).
So they sent fleets of ships out to the Oort Cloud, to nudge the orbits of many comets, so they would arch back into the main Solar System and crash on Mars! This warmed the planet and released mega tons of water. I think it would also plow and level the surface like a giant roto-tiller!
The idea was to terraform Mars for some decades or centuries, then move people in and continue terraforming.
I would bet that we would have thriving colonies on Luna and asteroids, and orbiting habitats, decades before we have anything more than sealed domes on Mars with self-sufficient, closed, artificial ecosystems.