Building a High Elf Fighter and looking at the new Green-Flame Blade cantrip in the SCAG. The way I read it is that at this level it does no extra damage to the primary target, just the secondary. Does this count as a magic weapon for the Primary target for hitting targets immune to normal weapon damage?
Nothing in the cantrip says the melee attack against the primary target is or becomes magical in any way.
If the weapon used is magical, the attack counts as magical. If not, not. The cantrip doesn't change this either way.
I'm pretty sure that GFB does fire damage, so I don't think it matters.
You are correct in that fire damage is completely separate from resistance to non-magical bludgeoning, piercing and slashing damage. To resist fire damage you need fire resistance, not "weapon resistance".
Not only does it do Fire damage, but it also uses the "Casting a Spell" action instead of using the "Attack" action. This means that it bypasses non-magical weapon resistance, along with not allowing an Extra Attack when you reach that level.
This is nonsense: there is no rules regarding resistance attached to the particular action used.
What matter is what kind of damage you do. If you do bludgeoning, piercing and slashing damage with a non-magical weapon your attack is resisted by monsters resistant to non-magical bludgeoning, piercing and slashing damage. If you do fire damage, such resistance is irrelevant even if you deliver the damage with a weapon. Instead the monster resist your damage if it possess fire resistance.
The bludgeoning, piercing, or slashing damage from the weapon is not magical unless the weapon is otherwise magical (either because it's a magical item, o has been enchanted with a spell that explicitly allows it to treated as magical weapon, such as shilellagh or magic weapon).
So the fire damage is magical, but the weapon damage is normal (ie, non-magical in most cases).
The fire damage is... fire damage. There is no need to differentiate fire damage from a torch or from lava from fire damage from a fireball or a flaming weapon - there are no monsters that are resistant to "non-magical fire" but not to "magical fire": either a monster is resistant to fire damage in general or not at all.
(What a monster can have, however, is magic resistance. This would grant advantage on the save against Fireball but not help at all against lava. But magic resistance would help equally against Lightning Bolt while not help against a punch in the face, so this has nothing to do with fire in particular)
What even is weapon damage? Is that a rule or something from previous editions? Or is that just a leftover concept from forum discussions?
I would suggest you treat it merely as a poster's shorthand for "bludgeoning, piercing, or slashing damage"... (You're welcome)