Is buildup used to mean the same thing in the next two sentences?

I envied his rapid buildup of assets.

A military buildup in preparation for the invasion.
the same meaning