Hacker News new | ask | show | jobs
by liuliu 1880 days ago
For these cases, you can just use a modern build system (Bazel) and incremental linker (lld / gold).
1 comments

Not everyone is in a position to vendor source for all their dependencies and use a new build system to solve a solved problem.
I do the same with good ol' cmake, I have a "developer" preset which will build my app with clang, lld, PCH, split into small shared libraries. And a release preset where everything is statically linked