3 ms·
Well, you might know that all those source files belong to exactly one executable (or library), but how would the compiler know?
by guenthert 4y ago
Well, you might know that all those source files belong to exactly one executable (or library), but how would the compiler know?
- wmf 4y agoYou could combine the build system (e.g. make), the linker, and the compiler into one app that knows everything and does it all in memory. It could be slightly faster but much less flexible.
- colejohnson66 4y agoIsn't that what msbuild does for .NET (Core and 5+, not Framework)? The `obj` directory contains some intermediate stuff, but not object files.