> I am not sure if there are some authorities who specified some generic template of meson.build for extensions. > [...] > but now, there is zero support for meson for extension from Postgres side.
contrib/*/meson.build seem quite generic and quite supported.
Or perhaps I don't quite understand the complexity you mentioned? Maybe you could give a particular example?
The meson does one target more in this case, so these files are not 100% comparable - maybe at 75%, but still - for Make, I have almost all logic in include $(PGXS)