On Thursday, 7 September 2023 at 17:34:48 UTC, Atila Neves wrote:
https://code.dlang.org/packages/reggae
For those who don't know, reggae is a meta-build system for and
in D. It's like CMake, if you replace their terrible language
with D*. Like CMake, it can output make and ninja files. Unlike
CMake, it can also output tup files and has its own binary
generator in case the dependency on one of those programs is
undesired. Also unlike CMake, it supports dub projects
out-of-the-box by using dub as a library.
Out of curiosity, why do we need one more build tool?
TBH I had the same thought - we should have "good" build tool for
D that has D as a language. Since I have some experience with
CMake and agree with a lot of people that it have horrible
language, I thought it would be beneficial. But then I looked
round and realized that it will be like this:
![](https://imgs.xkcd.com/comics/standards.png)
So I dropped that idea and think that investing into existing
build tool to support D will be much more efficient.
Have you looked as Meson, for example - it even has a [section
about D](https://mesonbuild.com/D.html)?