Header-Only Library - pragma(root)

Adam D. Ruppe destructionator at gmail.com
Mon Jun 15 00:24:52 UTC 2020


On Monday, 15 June 2020 at 00:17:42 UTC, Walter Bright wrote:
> If you're building a project using separate compilation, I 
> doubt you'd want an import with large functions in it being 
> compiled over and over into multiple object files.

If you're using separate compilation, you won't pass -i.

You might pass -i=-foo.bar though; the optional pattern part of 
the argument is pretty flexible to pick and choose what you do 
and do not want.


More information about the Digitalmars-d mailing list