Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's called a "unity build", build systems such as cmake support it. It has its pros and cons.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: