4 ms·
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, an
by bonzini 4y ago
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.
- oldgradstudent 4y agoSo it's like having ad hoc, informally-specified, bug-ridden functions calls, just without argument checking, type checking, localized error reporting, etc?
- bonzini 4y agoNo, 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.