compile "automation", makefile, or whatever?
Cliff via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Sep 16 12:26:29 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?
I want to say somewhere on the forums are some descriptions of
using CMake for this. Might try searching for that.
More information about the Digitalmars-d-learn
mailing list