Y
Hacker News
new
|
ask
|
show
|
jobs
by
leni536
722 days ago
That's called a "unity build", build systems such as cmake support it. It has its pros and cons.
1 comments
account42
721 days ago
And 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.
link