compile "automation", makefile, or whatever?

H. S. Teoh via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 16 12:32:29 PDT 2014


On Tue, Sep 16, 2014 at 07:00:05PM +0000, K.K. via Digitalmars-d-learn 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?

Try 'dub' (see: http://code.dlang.org/ ).


T

-- 
Turning your clock 15 minutes ahead won't cure lateness---you're just making time go faster!


More information about the Digitalmars-d-learn mailing list