Status of Meson with D

Remi Thebault remi.thebault at gmail.com
Thu May 12 21:37:20 UTC 2022


Hi D folks,

Over the last 2 years, significant improvements were brought to 
Meson to make it build D programs correctly and (rather) 
painlessly.
To name only a few:

  - `-makedeps` switch was merged in the compiler frontend and 
supported right away by Meson. It allows ninja to track which 
file imports which. This is simply necessary for correct 
compilation without having to clean and rebuild everything each 
time a file is edited.

  - more recently, a bug was fixed which allows to use Dub 
dependencies, including ones with complex sub-dependency schemes 
such as vibe-d. This will be available with meson-0.63 (release 
will probably occur in a few weeks).

There are many more fixes done by many people.
In general, Meson is easy to fix, and contributions get quickly 
reviewed and accepted.


Don't hesitate to try it out and to share your thoughts!

Cheers,
Rémi


More information about the Digitalmars-d mailing list