News for hackers. Stuff that matters.
Re:Meson 1.0 Build System by germandiago on Saturday December 24, 2022 @06:29AM (#34115918)
AFAIK this can be done with a mix of custom targets and adding the result to the input of the shared lib in some way.

What thing you cannot do? I have used capnproto, generated c++ files and passed the result to the input of targets perfectly ok.

Re:Meson 1.0 Build System by oldgradstudent on Saturday December 24, 2022 @12:51PM (#34119189)
Of course O can do that. The point is that I want to do it many times over, in different places in my code.

What I want to do is to spend the time and effort in understanding and debugging the process, and then encapsulating it in a single function call. Then completely forget about the details and use that single function call.

What is the advantage in not having user-defined functions? None, zilch, nada.