Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
janislaw
on July 13, 2023
|
parent
|
context
|
favorite
| on:
Simpsons Hit and Run source code (2003)
Can anybody explain the existence of all*.cpp files which include other source files?
Jare
on July 13, 2023
|
next
[–]
That's called a "unity build".
https://en.wikipedia.org/wiki/Unity_build
JTyQZSnP3cQGa8B
on July 13, 2023
|
prev
[–]
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: