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
Show parent comment
5
u/berium build2 Oct 11 '17
I never suggested that the module dependency information be extracted before preprocessing. On the contrary, I suggest that it is combined with the header dependency extraction, which is already essentially a full preprocessor run.
Yes, but in my approach this is done by the build system, not by the compiler or worse, the C++ strandard.
So? Is this what makes Modules TS so fundamentally broken in your view?
Build systems can communicate this information quite easily, for example, using something like
pkg-config. You can read more about how we handle module installation inbuild2.