Y
Hacker News
new
|
ask
|
show
|
jobs
by
janislaw
1078 days ago
Can anybody explain the existence of all*.cpp files which include other source files?
2 comments
Jare
1078 days ago
That's called a "unity build".
https://en.wikipedia.org/wiki/Unity_build
link
JTyQZSnP3cQGa8B
1077 days 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.
link