Thread overview
Re: Why doesn't DMD recreate folder structure when using multiple .d files and -H?
Oct 13, 2012
Andrej Mitrovic
Oct 13, 2012
Andrej Mitrovic
Oct 13, 2012
Jordi Sayol
Oct 13, 2012
Andrej Mitrovic
October 13, 2012
On 10/13/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> On 10/13/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
>> I didn't find an open bug report on this, but I think this is worthy of an enhancement request.
>
> And writing header files one at a time is incredibly slow because DMD parses every import on each header generation.
>

Boom: http://d.puremagic.com/issues/show_bug.cgi?id=8808

Now all we need is a lucky fella who's willing to implement it.
October 13, 2012
On 10/13/12, Andrej Mitrovic <andrej.mitrovich@gmail.com> wrote:
> I didn't find an open bug report on this, but I think this is worthy of an enhancement request.

And writing header files one at a time is incredibly slow because DMD parses every import on each header generation.
October 13, 2012
Al 13/10/12 02:10, En/na Andrej Mitrovic ha escrit:
> For example:
> 
> $ dmd -H -o- atk/Action.d gio/DBusProxy.d -Hdinclude
> 
> Both files are written to the 'include' folder but they're flat because the original folder structure is lost. So instead of having:
> 
> include/atk/Action.d
> include/gio/DBusProxy.d
> 
> I have:
> include/Action.d
> include/DBusProxy.d
> 
> The files are completely unusable this way (and this happens
> regardless of -Hd btw).
> I didn't find an open bug report on this, but I think this is worthy
> of an enhancement request.
> 

$ dmd -op -H -o- atk/Action.d gio/DBusProxy.d -Hdinclude
-- 
Jordi Sayol
October 13, 2012
On 10/13/12, Jordi Sayol <g.sayol@yahoo.es> wrote:
> $ dmd -op -H -o- atk/Action.d gio/DBusProxy.d -Hdinclude

Damn, I never knew what -op did (it should mention it's useful for -H). Thanks.