3 ms·
That's called a "unity build", build systems such as cmake support it. It has its pros and cons.
by leni536 2y ago
That's called a "unity build", build systems such as cmake support it. It has its pros and cons.
- account42 2y agoAnd while it helps with compile time (especially with mediocre compilers like MSVC where a large time is spent in the front-end), it doesn't help with stripping unneeded code/data compared to LTO.