Last I looked at GAAP, all those costs are capitalized on the balance sheet and amortized over several years.
In fact, an "advanced manufacturing company" ( whatever that is) realizes increased cash flow to more than offset new amortization costs. It called being accretive to earnings.