compile "automation", makefile, or whatever?

Andrei Amatuni via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 16 13:57:19 PDT 2014


On Tuesday, 16 September 2014 at 19:00:05 UTC, K.K. wrote:
> Hey I have a quick question: Does D have it's own version of
> makefiles or anything (preferably simpler)?
> So instead of typing in PowerShell "dmd file1.d file2.d
> lib\foo.lib -Isrc\ ....." I could just type most of that into a
> file and then just type "dmd file.X"
>
> I've seen some people make really complex .d files that have a
> lot of interchangeability but at the moment I wouldn't really
> need something of that scale. Also, I'm not using DUB; I'd 
> prefer
> to just use the command line.
>
> ..Can pragma's help with this, aside from linking just the libs?

Have you tried -> http://dlang.org/rdmd.html


More information about the Digitalmars-d-learn mailing list