jaihysc / Jactorio

Recreating Factorio in C++ OpenGL
Other
75 stars 2 forks source link

Improve/lto all translation units #25

Closed jaihysc closed 3 years ago

jaihysc commented 3 years ago

Enabled IPO for all translation units (Whole program optimization, Link time optimization)

Avoids having to recompile src files without IPO for tests as test were previously build without IPO, thus they could not be linked to the src files built with IPO.

May also improve performance as external libraries are also optimized with IPO.