[Comment removed by author]
Also related, tup, another build system that uses Lua – or is at least related to it. I have read good things about it but I can’t remember where. I’ve yet to take a detailed look at it, but the overview doesn’t sound bad at all.
a usage video about xmake: https://asciinema.org/a/133693