The annoying D build system

Jacob Carlborg doob at me.com
Mon Nov 19 23:28:45 PST 2012


On 2012-11-19 11:34, Andrej Mitrovic wrote:

> Well on win32 I have two directories on my drive, "dmd" and "dmd-git".
> "dmd" is an official release, while "dmd-git" is git-head. The dir
> structure is:
>
> dmd-git\dmd2\src\dmd  <- git-head
> dmd-git\dmd2\src\druntime <- git-head
> dmd-git\dmd2\src\phobos <- git-head
> dmd-git\dmd2\windows\  ... <- binaries, etc
>
> "dmd-git" is in the PATH env variable before "dmd" so it always
> overrides it. When I want to switch between using git-head and an
> official release I append an underscore to "dmd-git" (a shortcut key
> can do the trick using autohotkey).
>
> It's the simplest system I could think of..

I think you misunderstood what I was trying to say, or I am 
misunderstanding you.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list