Header-Only Library - pragma(root)

Walter Bright newshound2 at digitalmars.com
Sun Jun 14 09:42:45 UTC 2020


On 6/14/2020 2:33 AM, Max Samukha wrote:
> On Sunday, 14 June 2020 at 08:36:50 UTC, Walter Bright wrote:
> 
>> To compile, just:
>>
>>   dmd atom
>>
> 
> We have -i already for automatic inclusion of imported modules:
> 
> dmd atom -i=.
> 
> What does the pragma add to this?
> 
> I think Manu was asking for something different.

I don't know what -i does exactly, or why it was added.

https://dlang.org/dmd-windows.html#switch-i


More information about the Digitalmars-d mailing list