Re:The Simpsons Hit and Run leaked source code
by janislaw on Thursday July 13, 2023 @02:13AM
(#36705575)
Can anybody explain the existence of all*.cpp files which include other source files?
[ Parent
| on HN ]
Re:The Simpsons Hit and Run leaked source code
by Jare on Thursday July 13, 2023 @02:16AM
(#36705590)
That's called a "unity build". https://en.wikipedia.org/wiki/Unity_build
Re:The Simpsons Hit and Run leaked source code
by JTyQZSnP3cQGa8B on Thursday July 13, 2023 @09:15AM
(#36708628)
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.