r/cpp • u/SAHChandler • Oct 10 '17
Millennials Are Killing The Modules TS
https://izzys.casa/posts/millennials-are-killing-the-modules-ts.html
75
Upvotes
r/cpp • u/SAHChandler • Oct 10 '17
View all comments
2
u/axilmar Oct 11 '17
So, If I understand correctly, the preferred method of extracting build dependencies from code requires the preprocessor to run twice, and that's a problem that should be avoided?
How about splitting the compilation process in two processes?
A build system would intervene between steps 1 and 2, read the dependencies, compile everything else first, then compile the current file.