D infrastructure: make/cmake -> Meson ?

Denis Feklushkin feklushkin.denis at gmail.com
Tue Mar 17 19:14:07 UTC 2020


On Tuesday, 17 March 2020 at 19:07:53 UTC, Ben Jones wrote:

>> Strictly, Meson can use make to build, so, make will be 
>> presented, but its role will be decreased.
>>
>> The current situation with make is dead end: everyone sees 
>> that there is a lot of copy-pasted code inside of make 
>> scripts, but no one wants to deal with it. I believe that this 
>> suggests that it is time to get rid of make.
>>
>> Against cmake community "voted": if we would have liked cmake 
>> it would already have been merged from LDC branches.
>
> Most of the Makefiles from dmd have been put into build.d and I 
> think for all targets now, the makefile just forwards to 
> build.d.
>
> Might be worth doing something similar for druntime?  Seems 
> easiest to convince people here to switch to D rather than 
> something else.

Mmmm. build.d contains 1692 lines of code...

By the way, I think it will be more productive to rewrite Meson 
whole on D.


More information about the Digitalmars-d mailing list