News for hackers. Stuff that matters.
Re:Meson 1.0 Build System by bonzini on Saturday December 24, 2022 @02:20AM (#34114773)
QEMU also has a complicated multi stage build process, and using foreach was not a workaround. Each directory sets up what it wants to build in a dictionary, and then the main meson.build does all the steps.
Re:Meson 1.0 Build System by oldgradstudent on Saturday December 24, 2022 @12:55PM (#34119216)
So it's like having ad hoc, informally-specified, bug-ridden functions calls, just without argument checking, type checking, localized error reporting, etc?
Re:Meson 1.0 Build System by bonzini on Saturday December 24, 2022 @04:31PM (#34121261)
No, not really. It's just a different, data flow based approach.

The only thing I would use user-defined functions for is to structure the meson.build file in top-down manner, but each function would be called just once.