compile "automation", makefile, or whatever?

K.K. via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 16 12:00:05 PDT 2014


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?


More information about the Digitalmars-d-learn mailing list