Replacing Make for the DMD build

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 21 07:11:58 PDT 2017


On Tuesday, 20 June 2017 at 19:38:14 UTC, jmh530 wrote:
> On Tuesday, 20 June 2017 at 19:06:05 UTC, Nick Sabalausky 
> (Abscissa) wrote:
>> On 06/19/2017 04:06 AM, Russel Winder via Digitalmars-d wrote:
>>> 
>>> Reggae is D's pitch in the CMake and Meson class of 
>>> meta-build tools.
>>> Why aren't all the D compiler and tool developments using it?
>>
>> I'm convinced a big part of that is because DUB is ubiquitous 
>> and incredibly helpful in the D world for package management, 
>> but plays very poorly with any build system that isn't DUB's 
>> internal one.
>>
>
> While the dub documentation is not always the best, it seems to 
> me to be in a better state than reggae's. I've heard about 
> reggae a bit on the forum, but I never really made any attempt 
> to try to use it. dub seems a lot simpler for small projects.
>
> Maybe Atila could do a blog post with some simple examples and 
> compare/contrast with dub?

I'm not the best at documentation. Funnily enough, I made an 
effort with reggae, which might just show how bad I am at this.

There's not much to compare/constrast - dub is a package manager 
that also builds your code, as long as your requirements are 
simple, it doesn't have a DAG. reggae is a build system. You 
wouldn't be able to replace the Makefiles with dub. You _would_ 
be able to build phobos, but that's not all the Makefiles do.

Atila


More information about the Digitalmars-d mailing list