November 20, 2020
The DMD forum mentions internal design. This is more of a beginner usage question.

---------------------  from Compiler Switches -----------------------------

-I=directory
    Look for imports also in directory

-i[=pattern ]

    Enables "include imports" mode, where the compiler will include imported modules in the compilation, as if they were given on the command line. By default, when this option is enabled, all imported modules are included except those in druntime/phobos

----------------------------------------------------------------------------

The "..when this option is enabled..." is exactly the behavior I want, but how is it enabled?  Is there an "all inclusive pattern" that I'm missing.






November 20, 2020
On Friday, 20 November 2020 at 03:06:37 UTC, WhatMeWorry wrote:
> The "..when this option is enabled..." is exactly the behavior I want, but how is it enabled?  Is there an "all inclusive pattern" that I'm missing.

dmd -i yourfile.d

that's the default it is describing when you don't specify any pattern.