Mars' atmosphere is 95.3% carbon dioxide, which means that the problem we have to solve is not "how do we inject craptons of greenhouse gas into the atmosphere" but "how do we stop the solar wind from stripping away the atmosphere," which is not a problem we have a clear idea as to how to solve.
Contrary to popular belief, the rate that solar wind strips Mars atmosphere is so ridiculously low that we can comfortably kick the problem of stopping it down the road a few hundred thousand years. If we manage to generate a habitable climate by terraforming with additional heat and atmosphere, adding a magnetic field becomes a very low priority.