Haven't dug into it yet to say thumbs up or down, but the fact that it uses a full-fledged generic programming language instead of a DSL is a promising start.
Here's a waf "makefile":
https://gitlab.com/ita1024/waf/blob/master/demos/c++/wscript