Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
janislaw
· 3y ago · 0 comments
Can anybody explain the existence of all*.cpp files which include other source files?
Comments
[–]
Jare
3y ago
That's called a "unity build".
https://en.wikipedia.org/wiki/Unity_build
[–]
JTyQZSnP3cQGa8B
3y ago
I guess it's a way to optimize the build somehow, but you can achieve the same result with a proper build system, well-defined targets, and precompiled headers, but it's more work for the developers.