Phobos posix.mak -> D file using reggae: round 2

Piotrek via Digitalmars-d digitalmars-d at puremagic.com
Fri Apr 22 10:00:21 PDT 2016


On Monday, 18 April 2016 at 15:15:26 UTC, Atila Neves wrote:
> Here's[1] another attempt at converting the Makefile for POSIX 
> systems to D using reggae[2].
...
> Destroy!
>
> Atila

I know you your intention was to keep it similar to makefile, but 
for me it looks unnecessarily complex.

What whould you say about different approach e.g.:

void configure()
{
     with (targets["linux shared library"])
     {
         inheritConfig("linux 32");
         sources = "lib/*.d";
         dependency ~= "objects";
         output = "somthing.so";
     }
}


Piotrek


More information about the Digitalmars-d mailing list