Yes, going to war used to mean mass producing (in the US) ships, planes, tanks, jeeps, etc
Now it means producing lots of missiles, drones and a few humvee's and contracting out with French companies for cafeteria services.
Not quite the same effect on GDP.